Question: Write a code in Python Programming: As depicted in the following figure, the velocity of water, ? v ? (m/s), discharged from a cylindrical tank
Write a code in Python Programming:
As depicted in the following figure, the velocity of water, ?v ? (m/s), discharged from a cylindrical tank through a long pipe can be computed as 
where ?g ? = 9.81 m/s ?2 ?, ?H ? = initial head (m), ?L ? = pipe length (m), and ?t ? = elapsed time (s). Determine the head needed to achieve ?v ? = 5 m/s in 2.5 s for a 4-m-long pipe. You should cast this equation so that it becomes a root-finding problem, and then write a Python program that will ==> Plot the function so that you can estimate the solution to two significant figures ==> Use the bisection method to approximate the solution so that the root is zero out to three significant figures (0.00). You should start with an interval of x = [0.0, 2.0] . Create a neatly formatted table that will show, for each iteration a. The interval size b. The approximated head, ?H c. The function evaluated at this head (which should be approaching zero) ==> Use the approximated head, ?H ?, from the previous step and check your solution by calculating the velocity, ?v
V2gH 2L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
