You will write the model of the antibody level in the blood after a first and a second exposure, and use it to find the day of each peak.
The idea. The first response is on day , with a peak of on day . The second exposure adds a larger response that peaks days after it.
Your tasks.
first_response. It gives the level day days after the first exposure.second_response. It gives the extra level that the second exposure adds. It is before the day gap. After that it is ratio times , where is the days since the second exposure.peak_day. It gives the day with the highest level from start to end.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…