Question: Question 2 [ 6 5 marks ] The pressure vessel of the Figure Q 2 - a will be used to store some pressurized fluid
Question marks
The pressure vessel of the Figure Qa will be used to store some pressurized fluid and should be manufactured using the minimum amount of malerial possible, while holding a total volume 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
Figure Qa Pressure vessel dir
a marks
Derive expressions for the total surface area and volume of the vessel as functions of and In your computations, use the following expressions for the lateral surface area and volume of a frustum truncater rana
Figure Qb Frustum geometry
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
tableNameData type,Argument type,Default value,Descriptionfloat,Positional,Radius of the vessel.thetafloat,Keyword,Angle of the truncated cone at the lop and bottom of the vessel in radiansfloat,Keyword,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 :
YOUR CODE HERE
import math
def vesselAreal thetra:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
