Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . The volume of liquid, V , in a partially filled, horizontal, cylindrical tank of radius r and length L is related to the

2. The volume of liquid, V, in a partially filled, horizontal, cylindrical tank of radius r and length L is
related to the depth of the liquid, h, at the center line of the cylinder by the formula
212 cos 2 r h V r r h rh h L
r
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(r,L,plot_title):
"""
create a plot of the volume of liquid
in a horizontal, cylindrical tank
from empty to full tank
inputs:
r = 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')

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago

Question

4. Who would lead the group?

Answered: 1 week ago