Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
Ritu fits a straight line to her counts with slope, intercept = np.polyfit(t, np.log(N), 1), with in minutes. It gives slope = 0.0462 and intercept = 6.215. Find the doubling time and the count at .
For exponential counts, : np.polyfit(t, np.log(N), 1) returns the slope and the intercept . Doubling time . curve_fit(model, t, N, p0=guess) returns the parameters after t, in order, that make the sum of squared misses smallest.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Doubling time. min.
Step 2. Start. cells. In Python: np.exp(6.215).
Answer: a doubling time of min, from cells at the start.
Log in to join the discussion.
Loading…