The volume V of liquid in a hollow horizontal cylinder of radius r and length L is related to the depth of the liquid h by
Develop an M-file to create a plot of volume versus depth. Here are the first few lines:
function cylinder(r, L, plot_title)% volume of horizontal cylinder% inputs:% r = radius% L = length% plot_title = string holding plot title
Test your program with
>> cylinder(3,5,...'Volume versus depth for horizontal... cylindrical tank')
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.