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

  Engineering ethics and ethical issue

what is the engineering ethics course where to write about any engineering ethical case and discuss the ethical issue?

  Engineering ethics and concept and cases

what is the engineering ethics case related to civil engineering with reference and discuss all the engineering ethics issues which covered the "Engineering etics concepte and cases?

  Transportation and management

In the construction management, there is a lot of procurement route that are necessary and suitable for the construction industry.

  Supporting Investment Promotion: ERNST & YOUNG

Ernst & young is currently providing support to various sectors. In this regards it was felt that if this report is able to document good practices currently being adopted or planned in ceramic sector.

  Personalized Cancer Therapy-A step forward

Cancer is the uncontrolled growth of abnormal cells in the body resulting in tumours that can be benign or malignant (cancerous cells). A proper treatment is necessary to fight with this serious disease.

  Discuss the different environmental companies

Discuss the different agencies, institutes, centers, different environmental companies that are active in UAE.

  Develop a simple urban constructed wetland design

Develop a simple urban constructed wetland design.

  Evaluate company performance in relation to GRI standards

Evaluate company performance in relation to GRI standards and comment on Stigler's theory.

  Water system design

Determine the corresponding error in the computed discharge

  Hydraulic behaviour in open channel

Describe how test flumes and associated equipment are used to assess and confirm hydraulic behaviour in open channel

  Write a paper on steel sustainability

Write a paper on steel sustainability.

  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