Question: Part e) please Problem Two: The volume of liquid V' in a hallow horizontal cylinder of radius r and length 2 is related to the
Problem Two: The volume of liquid V' in a hallow horizontal cylinder of radius r and length 2 is related to the depth (level) of the liquid by: v = [p?co*-* (,) - (r = 1)2r ---- It is required to estimate the liquid level. I, knowing that r= 2 m and 25 m a) Plot the volume of the tank as a function of h in the intervaloshs2r. b) Estimate the level h using the graphical method, knowing that the volume of liquid inside the tank is V-8 m c) For V = 8 m, solve for the level, h, using the bisect function with initial guesses h= 0.5m and #. - 1.0 m, and achieving an accuracy of 8 significant figures. d) Redo part (e) using the falsepos function Report the estimated h and error after 6 iterations. e) Write a MATLAB script that solves for h. The code uses the bisection method until achieving 2 significant figures, then switches to the false-position method and perform 3 additional iteration Report the root and error for each iteration in a table format. Given: I=8m.h=0.5m and 1.0 m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
