Python Forum

Full Version: How can I make this equation work for t=0?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
SO I have this excerice in my python programming course at school.
https://cdn1.imggmi.com/uploads/2019/8/2...8-full.png

I figured finding C would be very easy just plotting in all the variables and the formula, the problem is that when t=0; k will be 0.2*0^-1 right? I guess h stands for hours? If so, the equation won't work, because 0^-1 has no answer. How should I proceed?
Not exactly Python, but if t is 0, N(0) = B/(1+C) as -kt is 0 and anything to the zero power is 1. You have N(0), B. Solve for C is simple algebra. Then, write the Python code to calculate N(t) for any t.
Show us your progress if you need additional help.