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

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...
Question: Conversion Program * This program will ask the user to input meters * After input,...
Question: Conversion Program * This program will ask the user to input meters * After input, a menu will be displayed: * 1. Convert to kilometers * 2. Convert to inches * 3. Convert to feet * 4. Quit * * The user will select the conversion and the converted answer will be displayed. * The program should redisplay the menu for another selection. * Quit program when user selects 4. Hi, my instructor requirement fix the bug in the...
For the Assembly Department, unit materials cost is $4 and unit conversion cost is $8. All...
For the Assembly Department, unit materials cost is $4 and unit conversion cost is $8. All material costs are added at the beginning of the process and conversion costs are applied uniformly throughout the process. If there are 9900 units in ending work in process 65% complete as to conversion costs, the costs to be assigned to the ending inventory are A.$77220. B.$118800. C.$91080. D. $104940.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT