Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6.16 The volume of liquid V in a hollow horizontal cylinder of radius rand length L is related to the depth of the liquid h
6.16 The volume of liquid V in a hollow horizontal cylinder of radius rand length L is related to the depth of the liquid h by Determine h given r= 2 m, L = 5 m. and V-8 m3. Homework #6 o Solve problem 6.16 as follows Write a root finding volume function o Excel Plot the function over an appropriate range of values to determine an estimate for the root Use Goal Seek to determine the root o Matlab Plot the function over an appropriate range of values to determine an estimate for the root Use the function fzero to determine the root Matlab solution: Assume the initial guess of the root h as -2 Construct the MATLAB code to find the roots of equation f (h-0 as, f = @ (h)8-5*(4*acos(0.5"( 2-h ))-( 2-h )*sqrt (4*h-h^2 )) h = fzero(f,2); fprintf(The required h = %53f:h); end The output of the function is The required h = 0.74002 Hence, the depth h of the liquid with the given values r = 2m,L-Sm and V-8 of a hollow horizontal cylinder is F = 074002 m Looking for Excel Solution
Step 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