Find the flow rate (m^3/s) in a pipe that has a radius of r in cm, velocity of v (m/s) and round the flow rate to 4 decimal places.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers52
Suggested Problems
-
19949 Solvers
-
Back to basics 11 - Max Integer
812 Solvers
-
Determine Whether an array is empty
819 Solvers
-
Saving MATLAB session to a file
201 Solvers
-
Calculate the average value of the elements in the array
1854 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Not sure what I did wrong?
function y = flow_rate(r,v)
y = (v*pi*(r^2))*(10^-4)
round(y,4)
end