You will use the model of the basilar membrane from the lesson. A tone of frequency in hertz peaks at a distance from the apex of the cochlea that follows the Greenwood function.
The idea. millimetres, for a basilar membrane 35 mm long.
Your tasks.
from_apex. It gives the distance from the apex in millimetres.positions to the distances of the tones in tones, rounded to one decimal place, in the same order.nearer_base. It gives True when the first tone peaks nearer to the base than the second tone does.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…