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

  Consolidated-drained triaxial shear test

A consolidated-drained triaxial shear test on a normally consolidated clay yielded a drained friction angle of 28 degrees. If the confining pressure during the test was 15 psi, what was the major principal stress at failure.

  Strength of a semicrystalline polymer

Briefly explain how each of the following influences the tensile or yield strength of a semicrystalline polymer and why: (a) Molecular weight (b) Degree of crystallinity (c) Deformation by drawing (d) Annealing of an undeformed material

  Average waiting time in the queue

What is the average length of queue, the average time spent in the system, and the average waiting time in the queue?

  Geophysical techniques using electromagnetic induction

Describe the application of geophysical techniques using electromagnetic induction as a tool for sustainable soil and water management of agricultural fields in the humid tropic Caribbean 300 word limit.

  What length l of splice plate is needed

two strips of a plastics material are bonded together as shown. The average shearing stress in the glue must be limited to 1000 kpa. what length L of splice plate is needed if the axial load carried by the joint is 55 kN and the width (W) is 315 m..

  Types of metamorphic foliations

Name three types of metamorphic foliations, and draw a small sketch that shows a situation. Where a metamorphic foliation could cause problems in an excavation.

  What would the new value of hc be

If the fracture were planar in shape, having an average opening of 2 mm, what would the new value of Hc be?

  Density specifications under average operating conditions

Calculate the compacted cubic yards per hour if a compactor with a 5-ft drum width travels at 3 mph over a 10-in. lift of aggregate base course with 4 passes required to meet density specifications under average operating conditions.

  Calculating sand shear strength

Estimate the effective friction angle for the sand (assume c' = 0). Calculate the sand's shear strength (τf) on a horizontal plane at depths of the 20 ft and 50 ft.

  Engineering societies based on the research

What are Engineering Societies based upon the research? List at least 10 discipline specific engineering societies along with their website addresses.

  What will be the new level of service

If an additional 11-ft lane is added (each direction) and all other factors stay the same, what will be the new level of service?

  Average velocity and crosssectional area

Calculate the average velocity (rnps), crosssectional area (rn"), and depth (m) for the stretch. To make these estimates, assume that the stretch can be idealized as a rectangular channel.

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