Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Table, Input, Testing Question

1 visualización (últimos 30 días)
CW
CW el 15 de Feb. de 2016
Cerrada: Walter Roberson el 17 de Feb. de 2016

Write a MATLAB computer program that will provide the information needed to prepare a sample of a diluted drug for injection. When executed, the program should query the user for the following information: 1. The volume of the sample of the diluted drug that is to be prepared (mL) 2. The total amount of the drug to be injected (mg drug/kg body mass) 3. The volume of solution in the drug bottle (mL) 4. The patient’s body mass (kg) 5. The total mass of the drug in the bottle (mg) (assume that the rest is saline) Assuming you have an unlimited supply of sterile saline, the program should calculate and display the following: 1. The concentration of the drug in the bottle. 2. The volume of concentrated drug (in mL) and the volume of saline (in mL) that are to be combined to make the requested volume of the sample of the diluted drug.

Test your program using the following test data: 1. Volume of the sample of the diluted drug that is to be prepared = 2 mL 2. Total amount of the drug to be injected = 0.0210 mg/kg body weight 3. Volume of solution in the drug bottle = 30.0 mL 4. Patient’s body mass = 70.0 kg 5. Total mass of the drug in the bottle = 294 mg

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by