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

Previous Q& A

  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..

  Determine the operating speeds of the machine

Determine the operating speeds of the machine at which the machine's steady-state amplitude is less than 0.2 mm. Take keq = 3 EI/L3.

  State how much water in liters could be vaporized

The human body obtains 1078 kJ from a candy bar. If this energy were used to vaporize water at 100°C, how much water in liters could be vaporized?

  Cognition and personality development

What is the relationship between cognition and personality development? Explain how biological and environmental factors can shape our cognitive processes.

  Discuss the challenges faced by the manager

Discuss the challenges faced by the manager in terms of : Communication skills ,Cultural, Policies or legislations ,Infrastructure , labour laws or any other challanges.

  Harvey wasserman-the robber barons

Write paper on article: American Perspectives - Harvey Wasserman, “The Robber Barons”

  What is the astronomic azimuth of the line

The magnetic north azimuth of a line is 128 degrees 27' while the magnetic declination is 3 degrees 30'E. What is the astronomic azimuth of the line (in decimal degrees)?

Reviews

Write a Review

 

Similar Q& A

  Highest point of the piping system

a) The maximum flow rate that can be achieved without cavitation occurring in the piping system. b) The maximum elevation of the highest point of the piping system to avoid cavitation.

  Discharged of wastewater to aquifer

Wastewater is discharged into an aquifer. This wastewater contains 0.1 ppm atrazine (a common herbicide). The MCL of atrazine is 5 ppb, the density is 1.19 g/mL and the solubility is 50 ppm. 500 ft away from the plant effluent there is a permeable..

  Purposes of assessing an economys growth performance

For the purposes of assessing an economy's growth performance, which is the more important statistic, real GDP or nominal GDP? Why?

  Hydraulic radius of the river

In that season, what are the hydraulic radius of the river, its mean velocity and volumetric discharge?

  What is the corrected measurement

A measurement was recorded as 171.278 m with a 30-m tape that was only 29.996 m under standard conditions. What is the corrected measurement?

  Consolidation ratio of the soil at the unloaded condition

An increment of vertical stress of150kpa compress the sample to a void ratio of1.43. What is the over consolidation ratio of the soil at the unloaded condition.

  Value of the mass of the cylinder

A one meter diameter cylindrical mass is connected to a 2 meter wide rectangular gate. the gate is to open when the water level drops below 2.5 meters. Determine the required value of the mass of the cylinder in kgs.

  Number of completely mixed bioreactors

Determine the number of completely mixed bioreactors (detention time of 45 min each) that would be required to meet the phenol discharge limit of 5 mg/L. The first-order removal rate constant is equal to 6.1 hr -1

  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..

  Difference between dry and moist lapse rate

Explain how the desert air can contain much more h 2 o vapor in the air than the pole, and still a lower humidity than the pole? what causes the difference between dry and moist lapse rate?

  What is the design speed of he curve

An equal-tangent crest vertical curve is designed with a PVI at station 110+00 and a PVC at station 107+43.3. if the high point is station 110+75.5 what is the design speed of he curve?

  Ultimate bod of municipal wastewater-reaction rate constant

If bod5 and ultimate bod of a municipal wastewater are 200mg/l and 457 mg/l respectively what is the reaction rate constant? a) .265 b) .050 c) .115 d) .165

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