Question

MATLAB ONLY!!! PLEASE WRITE IN COMPUTER SO I CAN COPY PASTE!!!

ANSWER COMPLETELY, IS ONLY ONE PROGRAM!!!

Body surface Area (Problem 6 Page 249). The body surface area (BSA) in m? of a person (used for determining dosage of medicat

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Input Values ? x Enter Weight(in KGs): Enter height (in meter): 1.87 OK Cancel

О – Ох BSA = 2.5164 ок |

Script

clc;clear all;

prompt = {'Enter Weight(in KGs):','Enter height (in meter):'};
dlgtitle = 'Input Values';
answer = inputdlg(prompt,dlgtitle)
weight = str2num(answer{1})
height = str2num(answer{2})*100
BSA = 0.007184*(weight^0.425)*(height^0.75)
msgbox(["BSA = " num2str(BSA)]);

Add a comment
Know the answer?
Add Answer to:
MATLAB ONLY!!! PLEASE WRITE IN COMPUTER SO I CAN COPY PASTE!!! ANSWER COMPLETELY, IS ONLY ONE...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In matlab code The body surface area (BSA) of a person (used for determining dosage of...

    In matlab code The body surface area (BSA) of a person (used for determining dosage of medications) can be calculated by the following formula: BSA = 0.007184 W^0.425 H^0.75 Write one script file to set up the problem and call all your functions. Write an anonymous function named P3anon that calculates the BSA whose input arguments are W and H. Write a function file named P3file that calculates the BSA whose input arguments are W and H. Use both your...

  • MATLAB ONLY!! PLEASE WRITE IN COMPUTER SO I CAN COPY PASTE!!! ANSWER COMPLETELY, USE FOR LOOPS....

    MATLAB ONLY!! PLEASE WRITE IN COMPUTER SO I CAN COPY PASTE!!! ANSWER COMPLETELY, USE FOR LOOPS. THE PROGRAM TO BE MODIFIED IS THE NEXT ONE: clc clear % Approximate the value of e ^ x using the Taylor Series x = input( 'Enter the value of x for e^x. x = ' ); t = input( 'Enter the amount of desired terms. t = ' ); i = 1; e_taylor = 0; % initializing the variable for the accumulator while...

  • ANSWER PART B, I HAVE PART A. MATLAB ONLY!! WRITE IN COMPUTER SO I CAN COPY...

    ANSWER PART B, I HAVE PART A. MATLAB ONLY!! WRITE IN COMPUTER SO I CAN COPY PASTE!! The student must use the following case provided and apply most of the commands leared in the previous modules. You should use the command folder that you must be expanding with each module. Case (Gilat, 2015): The concentration of a drug in the body Cp can be modeled by the equation: Doka (e-ketek) Va (ka-k) Where Do is the dosage administrated (mg). Ve...

  • d. Fill in the blank: Glucose provi solution provides kcal/ml. the blank: Glucose provides energy at...

    d. Fill in the blank: Glucose provi solution provides kcal/ml. the blank: Glucose provides energy at a rate of 4 kcal Ut a rate of 4 kcal/gram. Therefore a 5% glucose 2. Sometimes medications are prescribed on the m'). If a doctor prescribes a medication of soon is 40 inches tall, medical staff can determine the total de formula first to calculate the approximate body surface prescribed on the basis of the patient's body surface area (BSA in edication of...

  • read instructions carefully please matlab only Write a MATLAB function for a BMI calculator that receives the inputs for body weight (lbs)and height (ft) from the user's program, calculates th...

    read instructions carefully please matlab only Write a MATLAB function for a BMI calculator that receives the inputs for body weight (lbs)and height (ft) from the user's program, calculates the BMI using the equation below, displays the BMI category, and outputs the BMI value tothe user's program W (kg) h2 (m2) BMI Display Normal if 18.5 s BMI 25 Display Overweight if 25 s BMI <30 Display Obese if BMI 2 30 Else display underweight So you will create two...

  • MATLAB Questions. I have a basic understanding of the tools for MATLAB, but do not know...

    MATLAB Questions. I have a basic understanding of the tools for MATLAB, but do not know how to create the code for these questions. Please show the entire code. 2. A paper cup shaped as a frustum of cone with R-14R1 is designed to have a volume of 25 cm Determine R1, R2 and the surface area, S, of the paper for cups with a height, h, of 1O cm. The volume of the cup, V, and the surface area...

  • Please answer 1c, use MATLAB, and paste your entire script in your answer so that I...

    Please answer 1c, use MATLAB, and paste your entire script in your answer so that I can copy and paste to see if it works. Problem #1 400g triangle square pentagon hexagon Figure 1 For a closed geometric figure composed of straight lines (Figure 1), the interior angles in the figure must add to (n-2)(180) where n is the number of sides. Required Tasks a) Write a script that prompts the user to select from one of the following shapes:...

  • Please don't attempt if you can not write a MATLAB PROGRAM. I don't need numerical physics...

    Please don't attempt if you can not write a MATLAB PROGRAM. I don't need numerical physics solution, I need MATLAB code. Read the question carefully 2) Falling Drops Imagine a solid sphere of diameter, d, falling through the air. After its release, the sphere accelerates until it reaches its terminal velocity. The terminal velocity is obtained when the drag force due to air friction, Fa, balances the weight of the sphere, W. The weight of the sphere is simply its...

  • Please provide a step by step so I can understand how you got the answer :)...

    Please provide a step by step so I can understand how you got the answer :) axis rod A wooden rod of length 40.0 cm and mass 1.00 kg is sitting on a frictionless horizontal surface. The rod has a pin through its centre so that it can freely rotate about a vertical axis perpendicular to the rod and passing through the center of the rod. A projectile of mass 0.0100 kg is now shot at the rod. The projectile...

  • PLEASE ONLY DO D IN MATLAB. I DID A B AND C, dont need them. Intro...

    PLEASE ONLY DO D IN MATLAB. I DID A B AND C, dont need them. Intro to Computers for Engineers Recitation 11 In today's class, we are modeling a spacecraft. Please submit all functions you write. Pay very careful attention to names. If you name a function differently from what you are instructed, things might not work. Test your code using the scripts siml.m and sim2.m before trying to submit on zyLabs. A. [Submit on zyLabs] Write a function that...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT