A teaching model says that the cortex is at 300 mOsmol/L and that each level below it adds a fixed step. You will write the model, find how concentrated the urine can become, and find the volume of fluid that leaves a collecting duct.
The idea. The osmolarity at level is . In a duct, only water leaves, so stays the same.
Your tasks.
osmolarity_at. It gives the osmolarity at a level.concentration_ratio. It gives how many times the cortex the tip of a loop is.volume_out. It gives the litres that leave a duct when volume_in litres at conc_in leave at conc_out.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…