The volume of liquid, , in a partially filled, horizontal, cylindrical tank of radius and length is related to the depth of the liquid, h, at the center line of the cylinder by the formula v-[r³ cos (*=h)-(r-n)√2rn-n²³] 1 Develop a Python function to create a plot of liquid volume versus depth. Here are the first few lines: import numpy as np def cyltank (x, L, plot_title): create a plot of the volume of liquid in a horizontal, cylindrical tank from empty to full tank inputs: = inside radius of tank L = length plot title = string for title of plot Test your program with cyltank (3, 5, 'Volume vs. Depth for Horizontal Cylindrical Tank')
The volume of liquid, , in a partially filled, horizontal, cylindrical tank of radius and length is related to the depth of the liquid, h, at the center line of the cylinder by the formula v-[r³ cos (*=h)-(r-n)√2rn-n²³] 1 Develop a Python function to create a plot of liquid volume versus depth. Here are the first few lines: import numpy as np def cyltank (x, L, plot_title): create a plot of the volume of liquid in a horizontal, cylindrical tank from empty to full tank inputs: = inside radius of tank L = length plot title = string for title of plot Test your program with cyltank (3, 5, 'Volume vs. Depth for Horizontal Cylindrical Tank')
Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
Related questions
Topic Video
Question

Transcribed Image Text:Pl. The volume of liquid, V, in a partially filled, horizontal, cylindrical tank of radius and length I is
related to the depth of the liquid, h, at the center line of the cylinder by the formula
v-[r³ cos (*=h) - (r-n)√2h-²³ -
V-
Develop a Python function to create a plot of liquid volume versus depth. Here are the first few lines:
import numpy as np
def cyltank (z, L,plot_title):
create a plot of the volume of liquid
in a horizontal, cylindrical tank
from empty to full tank
inputs:
x = inside radius of tank
L = length
plot title
string for title of plot
Test your program with
cyltank (3, 5, 'Volume vs. Depth for Horizontal Cylindrical Tank')
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY