A small molecule takes 0.04 s to diffuse across 10 micrometres. You will write a function for the time over any distance, list the times for longer and longer distances, and see how much longer each doubling takes.
The idea. The time for diffusion grows with the square of the distance.
Your tasks.
time, return the time for distance d, starting from 0.04 s for 10 micrometres.times to the times for every distance in distances.factor to the time for 80 micrometres divided by the time for 40.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…