Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Table, Input, Testing Question

조회 수: 1 (최근 30일)
CW
CW 2016년 2월 15일
마감: Walter Roberson 2016년 2월 17일

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by