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....
Problem specifications: You are tasked with developing a complete temperature conversion program in Java. Your program...
Problem specifications: You are tasked with developing a complete temperature conversion program in Java. Your program should: -prompt the user with the following menu: -1-Convert Fahrenheit to Celcius -2-Convert Celcius to Fahrenheit -3-Quit Program The menu must be coded in its own method. -If user select option 1 then call a method that prompts the user to enter a value in degrees Fahrenheit and return it back to main. -call a method that converts from Fahrenheit to Celcius -call a...
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...
(java))Write a “Temperature Conversion” program. Declare choice, tempIn, tempOut variables Prompt the user with the messages...
(java))Write a “Temperature Conversion” program. Declare choice, tempIn, tempOut variables Prompt the user with the messages to choose: 1) Centigrade to Fahrenheit, 2) Fahrenheit to centigrade. Prompt the user for temperature value (tempIn) to convert. Calculate new tempOut. The calculation of the new tempOUT depends on choice 1 or 2 above.\ ( Lookup up the C to F formula online, loop up the F to C formula online ) Print out the the F and the C temps. Be sure...
Program 3.5 - Conversion Program   - NOW using cin statements to gather input from user Concepts...
Program 3.5 - Conversion Program   - NOW using cin statements to gather input from user Concepts Covered:  Chapter 2 – cout ,   math, data types, Chapter 3 , gathering both numeric & string input from user Programs 2-21, 2-22, 2-23, 2-28 should help with math and programs 3.5, 3.17 and 3.19 should help you with the new concepts introduced with this program. Program Purpose:  To help you understand the concept of using both proper numeric variables and string variables. To give you practice...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT