Question: 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 vessel 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, and h. In your computations, use the following expressions for the lateral surface area Af and volume Vf of a frustum (truncater rana)
Figure Q2-b. Frustum geometry
Af=(r+r1)(r-r1)2+h122
Vf=h13(r2+rr1+r12)
Then, write 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 lop and bottom of the vessel in radians],[h,float,Keyword,0.5,Height of the cylinder.]]
Function vesselarea 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 vesselAreal thetra):
 Question 2[65 marks] The pressure vessel of the Figure Q2-a will

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!