Help me for this question An aluminum fuel tank has a cylind
Help me for this question
An aluminum fuel tank has a cylindrical middle section and a semi-spherical ends. The outside diameter is 10 in., and the length of the cylindrical section is 24 in. The wall-thickness of the cylindrical section is t, and the wall-thickness of the semi-spherical ends is 1.5t. Determine t if the tank weight is 42.27 lb. The specific weight of aluminum is 0.101 lb/in^3. Determine the dimensions (radius r and height h) and the volume of the cylinder with the largest volume that can be made inside of a sphere with a radius R of 14 in.Solution
Q9
%start the script
P=conv ([11.5-5], con ([1.5-5]))*(4*pi/3);
P (4) =p (4) + (4*pi/3)*5^3;
q=conv ([1-5], [1-5])*-1;
q (3) =q (3) +5^2;
q= [0 q];
q=pi*24*q;
z=p+q;
z (4)=z(4)-42.27lb
a=roots (z);
y=imag (a) ==0&real (a)>0&real (a) <15
t=a (find(y));
Fprint (‘t=%f in.\ ’t)
The following matlab output is
Y=
0
0
1
T=0.364535 in.
Therefore the value of t is =0.364535 in.
