The body surface area BSA in m2 of a person used for determi
The body surface area (BSA) in m2 of a person (used for determining the dosage of medications) can be calculated by the formula (Du Bois formula): BSA = 0.007184W^0.425H^0.75 in which W is the mass in kg and H is the height in cm. Write a MATLAB function that calculates the body surface area. For the function name and arguments, use BSA = BodySurA (w, h). The input arguments w and h are for the mass and height respectively. The output argument BSA is the BSA value. Use the function in your script file to calculate the body surface area of a 95kg, 1.87m person. Use fprintf to output a statement describing the patient\'s body surface area, weight, and height.
Solution
Test.m-----
w=95
h=1.87
BodySurA(w,h)
Function ----
function BSA=BodySurA(w,h)
BSA=0.007184*(W^0.425)*(H^0.75)
fprintf(\"body surface area : %f height : %f weight : %f\",BSA,h,w)
