Question: Numerical Methods using MATLAB Celsius to Fahrenheit Table Write a m-file that converts Celsius temperature to Fahrenheit temperatures. The formula is F = (9 /5)

Numerical Methods using MATLAB

Celsius to Fahrenheit Table Write a m-file that converts Celsius temperature to Fahrenheit temperatures.

The formula is F = (9 /5) C + 32

F and C denotes the Fahrenheit temperature and the Celsius temperature respectively. Use loops (for and while) to display a table of the Celsius temperature and their Fahrenheit equivalents. Make following dat files and submit them. - save a table ( ?20?C ? C ? 50?C with ?C = 0.05?C, and their Fahrenheit equivalents) on HW2_1.dat file (This result should have two rows and the top row is for Celsius.)

- save equivalent Fahrenheit with Celsius C= ?3.5 ?C on HW2_2.dat file (You dont need to use the for or while loop.)

- save equivalent Fahrenheit with Celsius C= 41.35?C on HW2_3.dat file (You dont need to use the for or while loop.)

you just convert from Celsius to Fahrenheit with given conditions. Now, make a function m-file named C2F which accept one parameter, i.e., celsisu and convert it to Fahrenheit and return the Fahrenheit. With your own function m-file, make the following dat files and submit them.

- save equivalent Fahrenheit with Celsius C= ?13.5 ?C on HW2_4.dat file (You must use your function.)

- save equivalent Fahrenheit with Celsius C= 121.35?C on HW2_5.dat file (You must use your function.)

THANKS FOR HELPING ME ( MUST USE MATLAB)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!