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

  Discuss social context-historical of dead sea scrolls

Discuss the social context and historical significance of the Dead Sea Scrolls. What is contained in them, and what do they add to our knowledge of early Judaism?

  Technology market is highly competitive

The technology market is highly competitive, especially anything remotely related to computers, game systems and televisions. Research needs to be done well before a product is pushed into the market place.

  Department of homeland security

Identify the five strategic goals of the Department of Homeland Security (DHS) and discuss their relative importance. Which goals are the most significant and why?

  Explain the origins of the tort liabiliy

Should both civil and criminal court cases be proven in the same manner? In other words, should either preponderance of evidence and beyond reasonable doubt be abolished and/or replaced with one standard of proof? Why?

  Diverse teams utilize diverse opinions and approaches

Our text discusses the conclusion of research: diverse teams utilize diverse opinions and approaches and are generally more effective in their accomplishment of tasks.

  Critique of technological determinism

Explain in your own words your understanding of Wajcman's critique of technological determinism. How does her reasoning compare with Winner's argument that technologies can actually reflect political relationships? Provide examples.

  Difference between credentialing-licensure and accreditation

Define and explain the differences between credentialing, licensure, and accreditation  Using complete sentences, state and briefly describe the 'Healthy People 2010' seven major responsibilities.

  Field of psychology

In the field of psychology, what is ment by the term "catharsis"? According to Joseph Breuer, what effect did "catharsis" have on the mental function of someone with a "troubled mind"? Why?

  Accurate evaluation of own critical thinking

Identify at least (1) factor which is necessary for evaluating the quality of your thinking. Explain why it is significant for an accurate evaluation of your own critical thinking.

  Late nineteenth-century american visual art

How were women almost always portrayed in late nineteenth-century American visual art?

  Discuss diversity skills

Critically discuss diversity skills and why are they important. Please provide specific examples to help explain how diversity skills contribute to individual and interpersonal enrichment.

  Explain role of reverse culture shock-repatriation process

Explain the role of reverse culture shock in repatriation process. What can companies perform to avoid this problem? What types of skills do managers learn from foreign assignment.

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