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

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

Write a Review

Installation of motor on pw criterion

At the end of 15 years, the first motor will have a salvage value of \$50 and the second motor will have a salvage value of \$100. consider the MARR to be 8%. (note : 1HP=0.7457 kw). Determine which motor should be installed based on the PW criterio..

Equal-tangent crest vertical 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?

Atual discharge of a water pipeline

If the elevation difference between the water surfaces is y = 25 + x/11 metres, what minimum pipeline diameter will be required to convey the design discharge? Once your design is complete, determine the actual discharge. The value of x equals 23.

Construction area skids into a stack of concrete barriers

A car travelling at 60 mph in a construction area skids into a stack of concrete barriers. Skid marks leading to the crash measures 150 ft .

Velocity profile from the pipe wall

Compute points on the velocity profile from the pipe wall to the centerline of a 3/4-in Type K copper tube if the volume flow rate of water at 60 degrees F is .50 gal/min.

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.

Determining the pressure head at the nozzle inlet

Water flows steadily through a horizontal nozzle. The nozzle inlet diameter is 6 in. At the nozzle outlet, where the pressure is atmospheric, the diameter is 2 in. Determine the pressure head at the nozzle inlet to produce a water jet velocity of ..

Comparative analysis of the types of safeguards

Provide a comparative analysis of the types of safeguards would you suggest for the company's information system.

Velocity and acceleration of the flow

The volume flow rate of streams into the pipe is given by QA = 0.02t m 3 /s and that of stream B by QB = 0.008t 2 m 3 /s, where t is in seconds. The exit area of the pipe is 0.01m 2 . Find velocity and acceleration of the flow at exit at t = 1s.

Calculate the ifov corresponding to the spatial resolution

LANDSAT as a spatial resolution of 15m and an altitude of 700km. IKONOS has a spatial resolution of 1m and an altitude of 680km. Calculate the IFOV corresponding to the spatial resolution for sensor.

What is the average length of queue

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

What are the surface overflow rate

a rectangular clarifier with a length:width ratio of 3:1 receives a flow of 850m3/day. the clarifiers depth is 4.0m and the detention time of the water inthe clarifier is 2.4 hrs, what are the surface overflow rate and the horizontal flow through ..