Create a matlab program and flowchart

Assignment Help Civil Engineering
Reference no: EM13210557

Create a MATLAB program and flowchart which will allow the user to input an unknown number of temperatures, each of which might be a temperature in Celsius, Fahrenheit, Kelvin, or Rankine, and will convert the user input temperature to each of the other temperature scales. The program should request the units of the input temperature from the user, accepting as the units the character ‘C', ‘F', ‘K', or ‘R'. The program will store the input and equivalent temperatures in vectors, using one vector for each temperature scale. Obviously, temperatures below absolute zero will not be inputs ?. The program will also determine the average temperatures on each scale. Output from the program will be a properly labeled table including: Temperature number (e.g., 1,2,3..), the temperature in C, F, K and R. In the last row of the table the program will output the average temperature for each scale. Do not use MATLAB vector commands (e.g. sum(X), mean(X), etc.). EXTRA CREDIT: Have the program check to make sure the entered ‘temperature unit' is valid (upper case ‘C', ‘F', R', or ‘K').

Reference no: EM13210557

Questions Cloud

Find the dimensions of an acceptable box of a largest area : a delivery company accepts only rectangular boxes the sum of whose length and girth (perimeter of a cross section) are equal to 108cm. find the dimensions of an acceptable box of a largest area.
Why do many managers act like control freaks : What does it have to do with control? Why do many managers act like control freaks? Why do many managers micromanage so much? Why are many managers reluctant to take the actions necessary to correct deviations?
Determine the value of po : determine the value of Po, as a funciton of H, for these two investment alternatives to be equivalent at an interest rate of i=15% per year.
Three underlying dimensions of entrepreneurship : The three underlying dimensions of entrepreneurship. The Nike slogan "Just do it" captures the essense of the meaning of, Innovation as a corporate activity
Create a matlab program and flowchart : Create a MATLAB program and flowchart which will allow the user to input an unknown number of temperatures, each of which might be a temperature in Celsius, Fahrenheit, Kelvin, or Rankine, and will convert the user input temperature to each of the..
What is the runoff rate into the inlet grate : If the detention storage on the paved section is increasing at the rate of 60 m3/hr, what is the runoff rate into the inlet grate?
Challenges faced by manager in terms of communication skills : Discuss the challenges faced by the manager in terms of : Communication skills ,Cultural, Policies or legislations ,Infrastructure , labour laws or any other challanges.
Calculate the force : Calculate the force (in Kn) a punch press must exert if it is to punch out a large washer from a strip of 5-mm thick sheet steel with an ultimate shear strength of 400 MPa. The washer dimensions are as follows: hole diameter is 27 mm. outside diam..
Estimate the volume of soil : A proposed earthen dam will contain 5,000,000 cubic meters of earth. Soil to be taken from a borrow pit will be compacted to a void ratio of 0.78. The void ratio of soil in the borrow pit is 1.12. Estimate the volume of soil (cubic meters) that mu..

Reviews

Write a Review

Civil Engineering Questions & Answers

  Develop a simple urban constructed wetland design

Develop a simple urban constructed wetland design.

  Length of the curve-elevation of the curve at station

A vertical curve is to connect two tangents that intersect at station 50+00 and the elevation 500.00ft. The back tangent gradient is -4 percent, the forward tangent gradient is 2 percent, and the elevation of the curve at station 48+50 must equal ..

  Latent heat of fusion problem

What mass (in grams) of steam at 100°C must be mixed with 387 g of ice at its melting point, in a thermally insulated container, to produce liquid water at 26.0°C? The specific heat of water is 4186 J/kg·K. The latent heat of fusion is 333 kJ/kg, ..

  Smallest standard commercial pipe

For satisfactory operation, the static pressure at the pump inlet must not be lower than -6 m of water gage. Determine the smallest standard commercial pipe that will give the required performance.

  Resultant force from all fluids

A tank is filled with oil (specific gravity 0.8) and water to a depth of 10 meter and 6 meter respectively. Find the resultant force from all fluids acting on the gate of 1.8 meter by 9 meter.

  Determine the quality of the initial state

A two-phase liquid-vapor mixture of water is initially at a pressure of 10 bars. If on heating at fixed volume, the critical point is attained, determine the quality of the initial state.

  Steps of dmaic abandoned

Assume that during the analyze stage an obvious solution is discovered. Should that solution be immediately implemented and the remaining steps of DMAIC abandoned?

  Probability of pulling out vehicle at oncoming traffic

Assuming a standard driver reaction time of 2.5 seconds, what is the probability that the vehicle pulling out will get in an accident with oncoming traffic?

  Vehicle delay due to queuing

Vehicles begin to arrive at a toll booth at 850 am with an arrival rate of x(t) = 4.1 + .01t (with t in min and x(t) in veh /min.) The toll booth opens at 9am and processes vehicles at a rate of 12 per minute throughout the day. Assuming D/D/1 que..

  Balancing of reciprocating engines

If the engine is mounted solidly on a rigid foundation, what is the alternating force amplitude transmitted? Assume the connection rod to be of infinite length.

  How many balloons would it take

To float a 160 pound man using helium balloons (assume 0.52 cubic feet per inflated balloon). How many balloons would it take? Assume density of air is 1.29 kg/cubic meter and the density of helium is 0.179 kg/cubic meter.

  Environmental impact regarding the construction of the dam

Draw A flow net. Show flow lines, flow Channels, and Equipotential lines. Using flow nets, please provide an estimate of seepage rate below the dam. Your submittal will provide the basis for an environmental impact statement regarding the construc..

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