Question

In: Other

A program of unit temperature conversion from celcius, ℃ to rankine, R is proposed. The program...

A program of unit temperature conversion from celcius, ℃ to rankine, R is proposed. The program should allow the user to input the temperature in ℃. The user must input correct range of rankine, i.e >0 R, if it is otherwise, the code must display as ‘out spec temperature range’. Using appropriate command, request the user to reinput the correct temperature range. (a.). Create an appropriate flow diagram and pseudocode of this program. (b.) Create a program of the proposed

Solutions

Expert Solution

(b) The program of the above program written in mathlab is as follows:-

One example is as follows:-


Related Solutions

Temperature Converter Create a temperature conversion program that will convert the following to Fahrenheit: Celsius Kelvin...
Temperature Converter Create a temperature conversion program that will convert the following to Fahrenheit: Celsius Kelvin Newton Your program should take a character which represents the temperature to convert from and a value to be converted to using the following specification: C - Celsius K - Kelvin N - Newton In addition your program should take in the following character to exit the program: X - eXit the program The numeric input for your program should be of type double....
Write a program that displays a temperature conversion table for degrees Celsius and degrees Fahrenheit. The...
Write a program that displays a temperature conversion table for degrees Celsius and degrees Fahrenheit. The table should include rows for all temperatures between 0 and 100 degrees Celsius that are multiples of 10 degrees Celsius. Include appropriate headings on your columns. The formula for converting between degrees Celsius and degrees Fahrenheit can be found on the internet. Python 3
if the temperature of the column in HPLC was to increase by <1 degree celcius, what...
if the temperature of the column in HPLC was to increase by <1 degree celcius, what effect would this have on the data? why do the mean and standard deviation differ between different concentrations when using HPLC? why does assay range for a drug differ in the British Pharmacopoeia and the Ph Eur?
Question 4 - Methods (Unit Conversion) Unit conversion is one of those perennial problems that has...
Question 4 - Methods (Unit Conversion) Unit conversion is one of those perennial problems that has haunted humanity since prehistory. It's notable in that a solution has been widely proposed, studied, and adopted (standardization!) and yet our civilization STILL… well, there's no gentle way to describe our dysfunction here. Let's take a moment to consider the implications of having (for instance) five different units of temperature: Degrees Kelvin, Degrees Celsius, Degrees Fahrenheit, Rankines, and Cones. In order to perform a...
A refrigerant (R-134 A) at 0.8 MPa and 30 deg Celcius is throttled in a steady...
A refrigerant (R-134 A) at 0.8 MPa and 30 deg Celcius is throttled in a steady flow to a lower pressure and a temperature of -10 deg Celcius. What is the specific entropy generated? You can make the usual assumptions that are made for a throttle.
A proposed steam power plant design consists of an ideal Rankine cycle with reheat and regeneration....
A proposed steam power plant design consists of an ideal Rankine cycle with reheat and regeneration. Steam enters Turbine 1 at P1 and T1 at the rate of m1 and exits at P2. A fraction (y') of the steam exiting Turbine 1 is diverted to an open feedwater heater while the remainder is reheated to T3 before entering Turbine 2. The condenser operates at P4. Saturated liquid exits the condenser and is fed to Pump 1. The outlet of Pump...
Water heater In a water heater, tap water with the temperature 10 degrees celcius is heated...
Water heater In a water heater, tap water with the temperature 10 degrees celcius is heated to 60 degrees celcius. For a shower, a total of 20 litres of water is used. Water from the water heater is mixed with tap water to reach the temperature 35 degrees celcius when one showers. How much ENERGY is needed to heat 10 litres of water from 10 celcius to 60 celcius? How much EXERGY is needed to heat 10 litres of water...
A proposed Ocean Thermal Energy Conversion (OTEC) plant draws heat from the ocean surface at 22°C...
A proposed Ocean Thermal Energy Conversion (OTEC) plant draws heat from the ocean surface at 22°C and rejects heat to the water near the ocean bed at 4°C. What is the highest thermal efficiency the plant could achieve? [4] (b) Consider a system undergoing an adiabatic process from a fixed state 1 to a fixed state 2. Use the Second Law of Thermodynamics to prove that the maximum work is done by the system if the process is reversible. [6]...
Temperature Conversion Menu (100 pts) The three common temperature scales are Celsius, Fahrenheit and Kelvin. The...
Temperature Conversion Menu (100 pts) The three common temperature scales are Celsius, Fahrenheit and Kelvin. The conversion formulae for each of the scales is shown below (where °C, °F and K represent the temperatures in degrees Celsius, degrees Fahrenheit and Kelvin respectively): Celsius to Fahrenheit: °F = (9.0/5) ´ (°C) + 32 Celsius to Kelvin: K = °C + 273.15 Kelvin to Celsius: °C = K – 273.15 Kelvin to Fahrenheit: °F = (9.0/5) ´ (K – 273.15) + 32...
7.14 LAB: Temperature conversion In this lab, you will implement a temperature converter. Five UI elements...
7.14 LAB: Temperature conversion In this lab, you will implement a temperature converter. Five UI elements are declared for you in the template: Element's ID Element description cInput Text input field for Celsius temperature fInput Text input field for Fahrenheit temperature convertButton Button that, when clicked, converts from one temperature to the other errorMessage Div for displaying an error message when temperature cannot be converted weatherImage Image corresponding to the temperature Implement the conversion functions (2 points) Implement the convertCtoF()...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT