How can I make this equation work for t=0? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: How can I make this equation work for t=0? (/thread-20740.html) |
How can I make this equation work for t=0? - vetlema - Aug-28-2019 SO I have this excerice in my python programming course at school. https://cdn1.imggmi.com/uploads/2019/8/28/8c99d06a71a642977be70c31001f0e58-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? RE: How can I make this equation work for t=0? - jefsummers - Aug-29-2019 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. |