Question: Solve all problems using the editor window in Matlab. All problems must be solved in one script file. 1. The wind chill temperature, Twe, is

 Solve all problems using the editor window in Matlab. All problems

Solve all problems using the editor window in Matlab. All problems must be solved in one script file. 1. The wind chill temperature, Twe, is the air temperature felt on exposed skin due to wind. In US customary units, it is calculated by Twc = 35.8 + 0.6211 T-35.755 v0.2 + 0.4175 T v0.2 where T is the temperature in degrees F and v is the wnd speed in muh Write a Mathb program that caculates Twe. For input the program asks the user to enter the vales of T and v For output, the program dsplays the message: "For a temperature of XX F, at a wind speed of YY miks per hour, the wind chill temperature ZZ F where XX is the vaue of temperature (rounded to the nearest integer), YY is the wind speed (use one decimal pce), and ZZ is the valae of the wind chill bemperature rounded to the nearest ieger Execute the program for vakes of T-20F and v 35 mih 2. The monthly payment M of a loan amount P for y years and with interest rate r can be calculated by the formula: P(1z) For input, the program asks the user to enter the values of the loan amount, P, and the term of the loan, Y, and the interest rate, r. For output, the program displays the message: "The monthly payment for a $ OX loan with interest rate of YYY% is: ZZZ. where OX is the loan amount (use 2 decimal places), YYY is the interest rate (use 2 decimal places), and 22Z is the monthly payment rounded to two decimal places. Execute the program to calculate the monthly payment and the total payment (at the end of 10 years) for a 100,000 loan for 15 years with an interest rate of 4.85%. 3. The Karvonen rmuh isone method for cakcukhting the traring heart rate (THR). THR ((220-AGE RHRINTERN+RHR where AGE s the age (years), RHR the rest heart rate, and INTERN is the fitness kvel (0.5S for ow, 0.63 for medium and 0.8 for high fmess kvel). Spring 2018 Dr. Lizzie Santiago Write a script file that determines the THR. The program asks the user to input hisher age (number), rest heart rate (rumber), and tness level (0.55 for low, 0.65 for medium or 0.8 for high). The program then dispays the training heart rate using an prinf command (The training heart rate for a XXX old individual with a rest heart rate of XXX is XXX Please note that the resting heart rate range anywhere from 40 to 100 beats per minute. Execute your program for a25 years od mak, with RHR 80 beats per minute, and a fitness kvel of 0.65

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!