Create a matlab program and flowchart for temperatures

Assignment Help Civil Engineering
Reference no: EM1383495

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: EM1383495

Questions Cloud

Absolute pressure of the carbon dioxide in the can : The circular top of a can has a radius of .0320m. the pull-tab has an area of 3.8x10^-4 m^2. The absolute pressure of the carbon dioxide in the can is 1.40x10^5Pa. find the force that these gas generates on the top of a can?
Elastic modulus of steel : Given: elastic modulus of steel is 200 GPa, yield and ultimate tensile strength of steel are 600 and 750 MPa, respectively.
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.
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.
Create a matlab program and flowchart for temperatures : 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..
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?
Calculating the force in a punch press : 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.
What is the new water content : A soil sample with a water content of 14.5% and unit weight of 128.2 lb/cu. ft. was dried to a unit weight of 118.8 lb/cu. ft. without changing its void ratio. What is its new water content (in %)?
Problem related to specific gravity of solids : A soil specimen has a water content of 18% and a wet unit weight of 118.5 lb/cu. ft. The specific gravity of solids is found to be 2.72. Find the:

Reviews

Write a Review

Civil Engineering Questions & Answers

  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

  Develop a simple urban constructed wetland design

Develop a simple urban constructed wetland design.

  Free expansion of the rod

A rod of steel is 20 m long at a temperature of 200C. find the free expansion of the rod when the temperature is raised to 65 0 C. Find the temperature stress produced

  Radioactive waste from a clinical laboratory

A radioactive waste from a clinical laboratory contains 0.2 μCi (microcuries) of calcium-45 (45Ca) per liter. The half-life of 45Ca is 152 days.

  Find out velocity head expressed in atmospheres

What is the velocity head expressed in atmospheres for a rapid filter operated at a surface loading rate of 475 m/d when the local porosity is 0.40?

  Horizontal and vertical component from this acting force

What would be the Horizontal and vertical component from this acting force see diagram

  Set aside the sale of bungalow

Three days later, Abu sees his solicitors and executed the transfer of his said bungalow to Abdul Samad at the said value. Two month later, Abdul Samad expelled Abu from the religious group. Abu now wants to set aside the sale of his bungalow.

  Total mass-quality of steam-specific volume

Find the total mass, quality of steam, specific volume, specific enthalpy, and specific internal energy.

  Time inventory system for a product

How appropriate might a just in time inventory system be for a product such as roller skates?

  Commercial management in civil engineering

Devise a appropriate management system that you as a commercial manager for the contractor would recommend to the project team for use on a construction or building contract.

  Regenerative thermal oxidizers

A company that manufactures regenerative thermal oxidizers made an investment 10 years ago that is now worth $1,300,000.

  Writing case study about bridge collapse

Writing case study about bridge collapse

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