Makes steel cylindrical tanks-working on matlab code

Assignment Help Other Subject
Reference no: EM13276505

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

Reference no: EM13276505

Questions Cloud

Find an article on prototyping : A description of the article and where it was found. Identification of the one thing about prototyping that surprised you the most
What are the elements of an erp system : What are the elements of an ERP system?
Determine the flow rate of water : A water-cooling tower is to be designed with a blower capacity of 75 m3/s. The moist air enters at 25C and wet bulb temperature of 20 C. The exit air leaves at 30 C and relative humidity of 80%. Determine the flow rate of water, in kg/s, that can be ..
Human history shaped politics-economics more than cold war : Perhaps no series of events in human history shaped politics and economics more than the Cold War. It was 50 plus years of tension, threats, fears, and unique decisions. In this weeks two readings I would like you to discuss what you consider the maj..
Makes steel cylindrical tanks-working on matlab code : 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 ..
Basic titles reserved for messiah in first-century judaism : List and define the basic titles reserved for the Messiah in first-century Judaism. Which are closely associated with titles used in early Christianity? Which title is most significant to you, and why?
Essential elements of health care leadership : What are three essential elements of health care leadership? Explain why they are essential.
Historical factors that converged to produce printing press : What were the historical factors that converged to produce the printing press? And how did the printing press affect social relationships, religious institutions, economic transactions, and education?
What must they do to attract and retain members : If unions are to survive, what must they do to attract and retain members? statement discussing what union workers believe they gain from unionization and what they stand to lose.

Reviews

Write a Review

Other Subject Questions & Answers

  Explain the type of fit that an alminium piston

Explain the type of fit that an alminium piston need to have, and what addition aide is needed so thhe piston functions at differnt temprature.

  Reliability-validity-legality of appraisal ratings

Review of suggestions to improve the reliability, validity, and therefore, the legality, and usefulness of appraisal ratings are given.

  Assuming fuel is one of the main inputs

Assuming fuel is one of the main inputs for many sectors. When a war breaks out in country A, which is the main producer of fuel in the world, it causes fuel supply disruptions in the world. Discuss the market for equilibrium for fuel and car after t..

  Best illustrates the dynamics

With the approach of night, our body temperatures begin to drop. This best illustrates the dynamics of the

  Explaining the ethics

You have enjoyed business law so much that you decide to attend law school. All tests are administered on the honor system.

  Study for the department of labor statistics,

As part of a study for the Department of Labor Statistics, you are assigned the task of evaluating the improvement in productivity of small businesses. Data for one of the small businesses you are to evaluate is shown below. The data are the monthly ..

  Biological environmental-psychological-economic-historical

Anthropologists have emphasized a global perspective that enables them to consider the biological environmental, psychological, economic, historical, social.

  Display of graphics on web sites

New Apps Company develops “Browser Lite,” software to speed the display of graphics on Web sites. Browser Lite has the most copyright protection under

  Bank teller machines rely on using information

Bank teller machines rely on using information on the user’s card giving the bank identifier, the account number and the user’s personal identifier. They also derive account information from a central database and update that database on completi..

  Motor learning and motor control

What is the difference between motor learning and motor control? Pick a sport that you are familiar with and discuss how practice techniques would influence your planning if you were a coach.

  The primary areas of concentration

Jobe Smith has decided to build his manufacturing business (lawn mowers in the U.S.) around the production concept. If this approach is taken, what will be Mr. Smith's primary areas of concentration as he builds his business?

  Critique the typologies of the patrol officer

Critique the "typologies of the patrol officer" as discussed in your assigned reading. Be sure to address attributes of each typology. Assess random, directed, and directed aggressive patrols. Outline in what way these initiatives influence current p..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd