Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Formule radioactive decay
#1
Hello

Is there somebody who can help me to put the formula of radioactive decay into python?
I'm using PyCharm 2018.

I want to give the exact time and the activity before a synthesis and after the synthesis.
I want to calculate the yield, but for that I have to use the formule of radioactive decay...

N(t) = N(0) * 1/2 ^ (t/half life)
Reply
#2
Try
N = N0 * (1 / 2) ** (t / half_life)
Reply
#3
(May-29-2019, 05:00 PM)Gribouillis Wrote: N = N0 * (1 / 2) ** (t / half_life)

Thanks!
Reply


Forum Jump:

User Panel Messages

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