Question
The entire question is here. Please don't answer if you don't know how to solve. Problem using the bisection method (to be done on paper
The entire question is here. Please don't answer if you don't know how to solve.
Problem using the bisection method (to be done on paper without matlab programming)
I was confused when I get f(xL)=0 times f(xr)=3.009636592, I get zero which suggest that xr is the answer. This obviously is wrong, so I would like to know what I am doing wrong. Thanks!
As depicted in the given figure, the velocity of water, v (m/s), discharged from a cylindrical tank
through a long pipe can be computed as
v = sqrt(2gH)*tanh (sqr(2gH)/2L)*t
where g = 9.81 m/s2, H = initial head (m), L = pipe length (m), and t = elapsed time (s).
Note that tanh() is 'hyperbolic tangent' - you can use the 'tanh' function in your calculator or an online calculator to determine tanh(). Always use radians mode in calculating trigonometric functions in numerical methods.
Determine the head needed to achieve v = 5 m/s in 2.5 s for a 4-m-long pipe:
Find the head needed to achieve using the bisection method with the initial guesses xl = 0 and xu = 2 m with a stopping criterion of s = 5%.
a. 1.4375
b. 1.460938
c. 1.46875 (I got this one and got it wrong)
d. 1.3750
- Transcribed image textStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started