We are working for a company that makes steel cylindrical


Background: We are working for a company that makes steel cylindrical tanks. Currently we only sell 600-gallon with a steel density of 590lb.ft^3. The tanks come in several configurations, with the inside radius of these tanks varying from 0.5 (Tallest tank) to 5.0 ft( Shortest tank) at 0.5 ft intervals.

I need to write a program to compute and display several factors for these tanks in order to help in the investigation.

- Tank height (inside height) for each radius

- Mass of the Steel (in lb) needed to build each tank (Assume tank walls are 0.15 inches thick)

- Identify which tank uses the least amount of steel.

- Give radius, height, volume of steel, and mass of each tank

- For each tank that has a mass over 100 lb, identify it with a warning note

Must accept user inputs for tank volume (Gal) steel thickness, steel density, and tank radii.

I know this is a large problem, but I could really use the help. Lots of points for the most complete answer.

Here is what I have currently for a code:

% Filename: Cylindrical_Tank_Information.m

% Date Created: April 1, 2014

% Date Updated: April 1, 2014

% Written By: Jake Raymond, Section L08, Team 4

% This program takes in user input for various aspects of a Cylindrical

% tank. Taking in the tank volume, steel thickness, steel density, and tank

% radii. It will then place the data into a table and display it upon the

% users request.

%Allows the user to identify how many tubes they will be comparing.

count = input('Indicate the number of tanks that are going to be analyzed: ');

%Sets up the initial arrays for the data to be stored.

for i = 1:count

V_Tank(i) = 0;

S_Thickness(i) = 0;

S_Density(i) = 0;

T_Radii(i) = 0;

Height(k) = 0;

T_mass(k) = 0;

Radius(k) = 0;

end

V_Tank = 1:length(count);

S_Thickness = 1:length(count);

S_Density = 1:length(count);

T_Radii = 1:length(count);

Height = 1:length(count);

T_mass = 1:length(count);

Radius = 1:length(count);

%Loop will iterate, each time asking the user to input the required

%informaton for each tube, storing it in the arrays above.

while (count > 0);

V_Tank = input('Enter the volume of the tank in gallons: ');

S_Thickness = input('Enter in the thickness of the steel: ');

S_Density = input('Enter in the density of the steel: ');

T_Radii = input('Enter in the radius of the tank: ');

%Calculates height, tank mass, and the radius to be displayed in the plot.

for k = 1:length(count)

Height(k) = ((T_Radii.^2) * pi) / V_Tank;

T_mass(k) = (((2 * pi * T_Radii(i)) - (2 * pi * (T_Radii(i) - 0.15)) * (Height(k))));

Radius(k) = T_Radii(i);

end

%Subtracks 1 from count each time the loop goes through

count = count - 1;

end

Request for Solution File

Ask an Expert for Answer!!
Other Subject: We are working for a company that makes steel cylindrical
Reference No:- TGS0615216

Expected delivery within 24 Hours