Converting temperature entered by the user

Assignment Help Mechanical Engineering
Reference no: EM13945591

Your program should implement the following tasks:

1) Display to the user the purpose of this program

2) In this program you will be converting temperature entered by the user in degree Fahrenheit to a) Degree Celsius b) Degree Kelvin c) Rankine or d) Réaumur 3

3) The formulae for conversion is as follows;

Fahrenheit to Celsius
C = (F - 32) / 1.8

Fahrenheit to Kelvin
K = (F + 459.67) / 1.8

Fahrenheit to Rankine
Ra = F + 459.67

Fahrenheit to Réaumur
Re = (F - 32) / 2.25

4) You will create a main file which will call any one of the 4 functions. The name of the function files that you will create are as follows; F2C, F2K, F2Ra and F2Re where thea ctual calculation of the selected conversion will be computed.

5) Each of the function files will have temperature in Fahrenheit as the input argument and the corresponding conversion as its output argument.

6) The program is to run as many times as the user wishes.

7) At the end of the program display an output statement which has the user input (temperature) and the corresponding conversion.

Reference no: EM13945591

Questions Cloud

Brief description of your theoretical orientation : Brief description of your theoretical orientation. Then, explain at least two insights you gained about integrating your theoretical orientation into counseling techniques. Finally, explain how this might impact your future practice
Why you think an interaction would occur : Describe a hypothesis related to the area of psychology in which you are predicting an interaction.
Logitech corporation transferred : Logitech Corporation transferred $105,000 of accounts receivable to a local bank. The transfer was made without recourse. The local bank remits 85% of the factored amount to Logitech and retains the remaining 15%.
Determine the effect of the resource misallocation : Determine the dollar value of a waste-end charge that would restore efficiency to market - determine the effect of the resource misallocation
Converting temperature entered by the user : 1) Display to the user the purpose of this program 2) In this program you will be converting temperature entered by the user in degree Fahrenheit to a) Degree Celsius b) Degree Kelvin c) Rankine or d) Réaumur 3
How would this information help you to perform : How would this information help you to perform your job duties? Why did you choose this example?
Give a divide and conquer algorithm for the problem : Give a divide and conquer algorithm for the same problem that takes time theta(log(n)).
The earliest story of gilgamesh : The book goes into much further depth. The earliest story of Gilgamesh appears around 2100 B.C.E. in a cycle of poems in the Sumerian Language. (Puchner) It explains how the story as lost and rewritten by a Babylonian priest, then destroyed by the Ir..
Counseling and psychotherapy theories : An explanation of how counseling and psychotherapy theories can contribute to your professional development as a scholar-practitioner

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Steady-state armature current and steady-state angular speed

Using the graphs below, estimate steady-state armature current and steady-state angular speed. Using the graphs below, estimate the torque constant KT.

  Typical of creep at the low temperatures

If m = 5, as is typical of creep at the low temperatures used for stress relieving, σ o = 5000 psi, E = 10 × 106 psi, and C = 6 × 10-22(psi)-5/h at the annealing temperature, how long would it take for the stress to drop to 2500 psi?

  Draw a schematic of this cycle and number all your points

steam enters the first turbine stage of a vapor power cycle with reheat and regeneration at 32 mpa 600degc and expands

  Calculate pressure exerted on floor when bed rests

A water bed is 2 m on a side and 30 cm deep. Estimate its weight. Find the pressure exerted on the floor when the bed rests in its normal position. Assume that the entire lower surface of the bed makes contact with the floor. Calculate the pressure e..

  Steam leaves a power plant steam generator at 35 mpa

steam leaves a power plant steam generator at 3.5 mpa 400degc and enters the turbine at 3.4 mpa 375degc. the isentropic

  Knowing that a 66 kip axial force p is applied to the pipe

a steel pipe of 12in outer diameter is fabricated from 14 in. -thick plate by welding along a helix that forms an angle

  Write the balanced chemical equations

Write the balanced chemical equations for the following reactions in terms of major stable species. hydrogen and oxygen at an equivalence ratio of 0.5

  A metal plate of thickness l and surface area a is

a metal plate of thickness l and surface area a is initially at a uniform temperature t1. suddenly one of its surfaces

  Changes in kinetic and potential energies are zero

Water in a vertical piston cylinder is heated at constant pressure of 10 bar. It is initially at 179.9 0C and has a specific volume of 0.1 m3/kg and is heated to a final specific volume of 0.248 m3/kg. Changes in kinetic and potential energies are ze..

  The inlet area of the turbine is 50 cm2 if the power output

argon gas enters and adiabatic turbine steadily at 800 kpa and 400c with a velocity of 70 ms and leaves at 200 kpa with

  The heater considered is a natural gas furnace whose

you are asked to design a heating system for a swimming pool that is 2 m deep 25 m long and 25 m wide. your client

  A 06-m-diameter hemispherical plexiglass bubble is to be

a 0.6-m-diameter hemispherical plexiglass bubble is to be used as a special window on the side of an above-ground

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