A hospital checks a patient for diabetes mellitus with a glucose test. The fasting level and the level two hours after a drink of 75 g of glucose are compared with two cut-offs. You will also write the teaching model of the lesson.
The idea. A person meets the criteria when the fasting level is 126 mg/dL or more, or the two hour level is 200 mg/dL or more. One mmol/L is 18 mg/dL.
Your tasks.
to_mgdl. It changes mmol/L to mg/dL.diabetes. It gives True when either cut-off is reached.glucose. Let r be the response of the cells to insulin, where 1 is normal. The fasting level is mg/dL. The time of the peak is minutes. The rise at the peak is mg/dL. The level at time t is the fasting level plus the rise times .Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…