Problem

The volume V of liquid in a hollow horizontal cylinder of radius r and length L is related...

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')

Step-by-Step Solution

Request Professional Solution

Request Solution!

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.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 3