Problem 51168. Flow rate in a pipe
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
N/A
on 1 Apr 2022
Not sure what I did wrong?
function y = flow_rate(r,v)
y = (v*pi*(r^2))*(10^-4)
round(y,4)
end
Solution Comments
Show commentsProblem Recent Solvers50
Suggested Problems
-
Find the sum of all the numbers of the input vector
53423 Solvers
-
14020 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13498 Solvers
-
Change the sign of even index entries of the reversed vector
626 Solvers
-
624 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!