The body surface area (BSA) in m2 of a person (used for determining the dosage o
ID: 3934605 • Letter: T
Question
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.Explanation / Answer
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)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.