Info
此问题已关闭。 请重新打开它进行编辑或回答。
Table, Input, Testing Question
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
1 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!