Question
As shown in Fig. P5.4, the velocity of water, (m/s), discharged from a cylindrical tank through a long pipe can be computed as where
As shown in Fig. P5.4, the velocity of water, υ (m/s), discharged from a cylindrical tank through a long pipe can be computed as
where g = 9.81 m/s2, H = initial head (m), L = pipe length (m), and t = elapsed time (s). Develop a MATLAB script that
(a) plots the function f(H) versus H for H = 0 to 4 m (make sure to label the plot) and
(b) uses LastNameBisect with initial guesses of xl = 0 and xu = 4 m to determine the initial head needed to achieve υ = 5 m/s in 2.5 s for a 4-m long pipe. In addition, use Ead = 0.0000001. Also, set format long in your script so you display 15 significant digits for your results.
Figure P5.4:
v = /2gH tanh 2gH 2L
Step by Step Solution
3.32 Rating (155 Votes )
There are 3 Steps involved in it
Step: 1
MatLab program bisection method clear all clc close all format long given equation g981 L4 t2...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 StartedRecommended Textbook for
Numerical Methods for Engineers
Authors: Steven C. Chapra, Raymond P. Canale
7th edition
978-0073397924, 007339792X, 978-0077492168, 77492161, 978-9352602131
Students also viewed these Mathematics questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App