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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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