Python Forum
How can I make this equation work for t=0?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I make this equation work for t=0?
#1
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?
Reply
#2
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020