Question: Problem: Create a function called BSA that calculates the body surface area in maccording to the following formular BSA = H.W 3131 where H is
Problem: Create a function called BSA that calculates the body surface area in maccording to the following formular BSA = H.W 3131 where H is the person's height in inches, and is the person's weight in tb. Your input arguments are H (height) and W (weight). The function should return BSA according to the formula above. Your H1 and help statements should instruct users about expected units of H and W. Write a program that will ask the user for Hand W (use type of input that will allow publishing of your results. call the function, and use formatted print to print and explain inputs and output/result of your function. The function must be defined in the same Matlab program and submitted together with the published PDF file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
