Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The velocity of water, v (m/s), discharged through a cylinder can be computed as f(H)= V2gH tanh ( 2gH 2L t V Where g
The velocity of water, v (m/s), discharged through a cylinder can be computed as f(H)= V2gH tanh ( 2gH 2L t V Where g = 9.81 m/s, H = initial head (m), L = pipe length (m), and t = elapsed time (s). a) Develop a MATLAB script that plots the function f(H) versus H for H = 0 to 4 m. Make sure to label the plot. b) Develop a MATLAB script that determines the initial head needed to achieve v = 5 m/s in 2.5 s for a 50 m-long pipe using bisection method with initial guesses of x = 0 and x = 4 m and e, = 0.0000001.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Certainly Here are the MATLAB scripts for both parts of your question a MATLAB script to plot fH ver...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