Question: ( PLEASE FIX / FINSH MATLAB CODE ) h = 9 d = 2 5 ; r = d / 2 ; rh = r
PLEASE FIXFINSH MATLAB CODE h
d ;
r d;
rh r h;
if h && h
V pirh;
elseif h &&
V pih
else
dispValue is not within the tank range"
end
fprintf The volume of the tank is f cubic meters for a water height f meters", V h
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
