Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 [ 6 5 marks ] The pressure vessel of the Figure Q 2 - a will be used to store some pressurized fluid

Question 2[65 marks]
The pressure vessel of the Figure Q2-a will be used to store some pressurized fluid and should be manufactured using the minimum amount of malerial possible, while holding a total volume V. The amount of material used is proportional to the surface area of the vessel, while the inner radius of the versed should be equal to one third of the outer radius r1=r3
Figure Q2-a. Pressure vessel dir
a)[15 marks]
Derive expressions for the total surface area and volume of the vessel as functions of r,O and h. In your computations, use the following expressions for the lateral surface area Af and volume Vf of a frustum (truncater rnnol
Figure Q2-b. Frustum geometry
Af=(r+r1)(r-r1)2+h122
Vf=h13(r2+rr1+r12)
Then, vrite two Python functions named vesselAreae and vesselvolume to compute the total surface area and total volume of the vessel. The functions should both receive the following input arguments:
\table[[Name,Data type,Argument type,Default value,Description],[r,float,Positional,-,Radius of the vessel.],[theta,float,Keyword,,Angle of the truncated cone at the top and bottom of the vessel in radians],[h,float,Keyword,0.5,Height of the cylinder]]
Function vesselAreae should return the area of the vessel as a float, and vesselvolume should return the volume of the vessel, also as a float Use the tests in the cells following your answer to verify the correctness of your answers
In [3]: ~~ YOUR CODE HERE
import math
def vescelarea(r thetra):
image text in transcribed

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

What do you mean by dual mode operation?

Answered: 1 week ago

Question

Explain the difference between `==` and `===` in JavaScript.

Answered: 1 week ago

Question

How do you try to manipulate your unique smell?

Answered: 1 week ago