The Naked Scientists
  • Login
  • Register
  • Podcasts
      • The Naked Scientists
      • eLife
      • Naked Genetics
      • Naked Astronomy
      • In short
      • Naked Neuroscience
      • Ask! The Naked Scientists
      • Question of the Week
      • Archive
      • Video
      • SUBSCRIBE to our Podcasts
  • Articles
      • Science News
      • Features
      • Interviews
      • Answers to Science Questions
  • Get Naked
      • Donate
      • Do an Experiment
      • Science Forum
      • Ask a Question
  • About
      • Meet the team
      • Our Sponsors
      • Site Map
      • Contact us

User menu

  • Login
  • Register
  • Home
  • Help
  • Search
  • Tags
  • Member Map
  • Recent Topics
  • Login
  • Register
  1. Naked Science Forum
  2. Non Life Sciences
  3. Physics, Astronomy & Cosmology
  4. How do you use decay constant formula to find decay in excel?
« previous next »
  • Print
Pages: [1]   Go Down

How do you use decay constant formula to find decay in excel?

  • 13 Replies
  • 5484 Views
  • 3 Tags

0 Members and 1 Guest are viewing this topic.

Offline dgt20 (OP)

  • Full Member
  • ***
  • 56
  • Activity:
    0%
  • Naked Science Forum Newbie
    • View Profile
How do you use decay constant formula to find decay in excel?
« on: 02/03/2018 02:54:39 »
I want to compare my decay results using the dice model 1;6 chance experiment and prove that it is not accurate to real life representation of decay. Is it possible to do this by using the decay constant through excel? If so how would you set up the formula on excel?
« Last Edit: 02/03/2018 12:27:43 by dgt20 »
Logged
 



Offline chris

  • Naked Science Forum King!
  • ******
  • 7960
  • Activity:
    4.5%
  • Thanked: 278 times
  • The Naked Scientist
    • View Profile
    • The Naked Scientists
Re: How do you use decay constant formula to find decay in excel?
« Reply #1 on: 02/03/2018 07:29:01 »
The formula for the number of decayable nuclei Nt remaining after time t is given by:

      Nt = N0e-λt

...where N0 is the number of nuclei you are starting with and λ is the decay constant with units s-1

So you can write a simple recurring formula that substitutes for t over the range of values that you want to test.

Does that help?
Logged
I never forget a face, but in your case I'll make an exception - Groucho Marx - https://www.thenakedscientists.com/
 

Offline dgt20 (OP)

  • Full Member
  • ***
  • 56
  • Activity:
    0%
  • Naked Science Forum Newbie
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #2 on: 02/03/2018 08:17:15 »
Quote from: chris on 02/03/2018 07:29:01
The formula for the number of decayable nuclei Nt remaining after time t is given by:

      Nt = N0e-λt

...where N0 is the number of nuclei you are starting with and λ is the decay constant with units s-1

So you can write a simple recurring formula that substitutes for t over the range of values that you want to test.

Does that help?

I understand the equation however i don't know how to plug in the decay constant in excel? I  just dont know how to graph/do this on excel.
Logged
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 22596
  • Activity:
    100%
  • Thanked: 582 times
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #3 on: 02/03/2018 14:23:24 »
Are you trying to replicate the dice experiment in excel?
Logged
Please disregard all previous signatures.
 

Offline dgt20 (OP)

  • Full Member
  • ***
  • 56
  • Activity:
    0%
  • Naked Science Forum Newbie
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #4 on: 02/03/2018 23:35:25 »
Quote from: Bored chemist on 02/03/2018 14:23:24
Are you trying to replicate the dice experiment in excel?

I want to compare decay results from dice experiment to decay using the decay constant on excel
Logged
 



Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 9358
  • Activity:
    51%
  • Thanked: 997 times
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #5 on: 03/03/2018 10:24:36 »
Ok, I've had a go...

I simulate 16 dice -
- Each row represents one half life, numbered in Column A
- Column B shows the theoretical number present after this many half-lives. Note that this number becomes a fraction, while real dice can't become a fraction.
- if the dice face shows a number > 3, it continues into the next round.
- Column C counts how many dice are left
- Press F9 to recalculate (start with the full number of dice again)
- The results are slightly different every time you press F9
- You can experiment with more dice by duplicating column S in more columns to the right.
- There is a similar experiment on the "Coin" worksheet, simulating flipping a lot of coins. Only half of them are left after a half-life.

But I can't upload EXCEL files.
Download the file to disk, then remove the JPG suffix.
Scan with a virus scanner. Then it should open in EXCEL.
* Dice_Sim.xlsx.jpg (26.99 kB - downloaded 256 times)
Logged
 

Offline dgt20 (OP)

  • Full Member
  • ***
  • 56
  • Activity:
    0%
  • Naked Science Forum Newbie
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #6 on: 03/03/2018 10:45:04 »
Quote from: evan_au on 03/03/2018 10:24:36
Ok, I've had a go...

I simulate 16 dice -
- Each row represents one half life, numbered in Column A
- Column B shows the theoretical number present after this many half-lives. Note that this number becomes a fraction, while real dice can't become a fraction.
- if the dice face shows a number > 3, it continues into the next round.
- Column C counts how many dice are left
- Press F9 to recalculate (start with the full number of dice again)
- The results are slightly different every time you press F9
- You can experiment with more dice by duplicating column S in more columns to the right.
- There is a similar experiment on the "Coin" worksheet, simulating flipping a lot of coins. Only half of them are left after a half-life.

But I can't upload EXCEL files.
Download the file to disk, then remove the JPG suffix.
Scan with a virus scanner. Then it should open in EXCEL.
* Dice_Sim.xlsx.jpg (26.99 kB - downloaded 256 times)

edit: nvm
Logged
 

Offline chris

  • Naked Science Forum King!
  • ******
  • 7960
  • Activity:
    4.5%
  • Thanked: 278 times
  • The Naked Scientist
    • View Profile
    • The Naked Scientists
Re: How do you use decay constant formula to find decay in excel?
« Reply #7 on: 03/03/2018 11:01:14 »
Quote from: evan_au on 03/03/2018 10:24:36
But I can't upload EXCEL files.

Hi @evan_au - I've not tried it with Excel, but it should let you send files as attachments in PMs - see this upgrade note: https://www.thenakedscientists.com/forum/index.php?topic=70438.msg517348#msg517348

Let me know if it works please.
Logged
I never forget a face, but in your case I'll make an exception - Groucho Marx - https://www.thenakedscientists.com/
 

Online alancalverd

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 11795
  • Activity:
    100%
  • Thanked: 767 times
  • life is too short to drink instant coffee
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #8 on: 03/03/2018 11:26:28 »
Define your decay constant L

Put your starting number into a cell, say B2. I always start with B2 to give me space for annotations.

In B3 write    =B2*exp(-L)

Now use autofill to give values for B4.....BN where N is as large as you like.

You can calculate the half life t½ = ln2/L = 0.693/L and compare it with the graphical value.

The half-life or decay constant you use depends on how you want to reject the dice, usually either 1/6 per throw or 1/2 per throw. 1/6 will give you a smoother curve and a better fit between experiment and calculation - just like real life where measuring short halflives is much more difficult!.
« Last Edit: 03/03/2018 11:28:42 by alancalverd »
Logged
helping to stem the tide of ignorance
 



Offline chris

  • Naked Science Forum King!
  • ******
  • 7960
  • Activity:
    4.5%
  • Thanked: 278 times
  • The Naked Scientist
    • View Profile
    • The Naked Scientists
Re: How do you use decay constant formula to find decay in excel?
« Reply #9 on: 03/03/2018 15:51:00 »
Quote from: chris on 03/03/2018 11:01:14
Quote from: evan_au on 03/03/2018 10:24:36
But I can't upload EXCEL files.

Hi @evan_au - I've not tried it with Excel, but it should let you send files as attachments in PMs - see this upgrade note: https://www.thenakedscientists.com/forum/index.php?topic=70438.msg517348#msg517348

Let me know if it works please.
@evan_au  - since posting, I've checked the PM attachments settings and .xls and .xlsx files are both permitted in PM attachments.

Obviously, users should always screen attachments before they execute things on their local machine.
Logged
I never forget a face, but in your case I'll make an exception - Groucho Marx - https://www.thenakedscientists.com/
 

Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 9358
  • Activity:
    51%
  • Thanked: 997 times
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #10 on: 04/03/2018 09:20:16 »
The "trick" of putting a dummy "JPG" suffix should work in delivering the EXCEL file via a post.

I tried putting an attachment on a PM (Personal Message) like the one in the link, and it didn't bring up the "Choose File" button?

* Send_Message_Chrome.PNG (47.47 kB . 921x602 - viewed 6458 times)
* Send_Message_Edge.PNG (33.91 kB . 781x506 - viewed 6419 times)

Am I looking in the wrong place?
Logged
 

Offline dgt20 (OP)

  • Full Member
  • ***
  • 56
  • Activity:
    0%
  • Naked Science Forum Newbie
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #11 on: 04/03/2018 11:43:22 »
Quote from: alancalverd on 03/03/2018 11:26:28
Define your decay constant L

Put your starting number into a cell, say B2. I always start with B2 to give me space for annotations.

In B3 write    =B2*exp(-L)

Now use autofill to give values for B4.....BN where N is as large as you like.

You can calculate the half life t½ = ln2/L = 0.693/L and compare it with the graphical value.

The half-life or decay constant you use depends on how you want to reject the dice, usually either 1/6 per throw or 1/2 per throw. 1/6 will give you a smoother curve and a better fit between experiment and calculation - just like real life where measuring short halflives is much more difficult!.

Using decay formula       Nt = N0e-λt, I replaced decay constant with 0.166 (dice 1/6 chance) then compared to the results of the formula N=1000(1-1/6)^t (time). Would this be a fair comparison of expected dice vs expect dice decay results?
Logged
 

Online alancalverd

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 11795
  • Activity:
    100%
  • Thanked: 767 times
  • life is too short to drink instant coffee
    • View Profile
Re: How do you use decay constant formula to find decay in excel?
« Reply #12 on: 04/03/2018 13:42:04 »
No.

Quote from: dgt20 on 04/03/2018 11:43:22
N=1000(1-1/6)^t
is rearranged as

N = 833.33t, which increases with t and is very different from N = 1000/eλt,  which decreases with t.

If you use the Excel algorithm I suggested above, Np = ROUND (Np-1* 0.833, 0) you will get a succession of integers that look like idealised dice and behave very much like the decay of 100000 nuclei. Real dice will give you a rougher curve because you may get any number of sixes on a single throw, but we get the same effect with very small (10000 or less) numbers of real nuclei due to Geiger counter dead time limitations.
Logged
helping to stem the tide of ignorance
 



Offline chris

  • Naked Science Forum King!
  • ******
  • 7960
  • Activity:
    4.5%
  • Thanked: 278 times
  • The Naked Scientist
    • View Profile
    • The Naked Scientists
Re: How do you use decay constant formula to find decay in excel?
« Reply #13 on: 05/03/2018 15:59:26 »
Quote from: evan_au on 04/03/2018 09:20:16
The "trick" of putting a dummy "JPG" suffix should work in delivering the EXCEL file via a post.

I tried putting an attachment on a PM (Personal Message) like the one in the link, and it didn't bring up the "Choose File" button?

* Send_Message_Chrome.PNG (47.47 kB . 921x602 - viewed 6458 times)
* Send_Message_Edge.PNG (33.91 kB . 781x506 - viewed 6419 times)

Am I looking in the wrong place?

Hello Evan - I've reset the permissions for the application. It might be that they had been suspended when the forum was rebuilt in January.

I've tested successfully, I think, PM'ing you a picture and a spreadsheet.

The file selection / attachment box now appears below the PM message body input box:


* screen_shot.PNG (49.33 kB . 1152x779 - viewed 6406 times)
« Last Edit: 05/03/2018 16:01:37 by chris »
Logged
I never forget a face, but in your case I'll make an exception - Groucho Marx - https://www.thenakedscientists.com/
 



  • Print
Pages: [1]   Go Up
« previous next »
Tags: radioactive decay  / decay constant  / half life 
 

Similar topics (5)

Find x-intercept and y-intercept for the function: f(x)=9x^2+12x+4.

Started by malyloBoard General Science

Replies: 1
Views: 9658
Last post 10/11/2011 04:31:16
by CliffordK
Why do we find things "cute"?

Started by mike2niner4Board Plant Sciences, Zoology & Evolution

Replies: 10
Views: 15574
Last post 12/07/2009 06:51:15
by Karen W.
Where can I find the definition of "label claim viscosity"

Started by ratwingBoard General Science

Replies: 1
Views: 4698
Last post 06/09/2011 13:42:37
by damocles
How to find amount of mass knowing the mass transfer coefficient?

Started by scientizschtBoard Physics, Astronomy & Cosmology

Replies: 1
Views: 766
Last post 28/11/2019 14:53:44
by Bored chemist
How does the length of a tunnel, at constant depth, vary with length?

Started by MichaelJPierceBoard Physics, Astronomy & Cosmology

Replies: 11
Views: 6288
Last post 26/12/2009 10:53:53
by chris
There was an error while thanking
Thanking...
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    SMFAds for Free Forums
  • Naked Science Forum ©

Page created in 0.153 seconds with 63 queries.

  • Podcasts
  • Articles
  • Get Naked
  • About
  • Contact us
  • Advertise
  • Privacy Policy
  • Subscribe to newsletter
  • We love feedback

Follow us

cambridge_logo_footer.png

©The Naked Scientists® 2000–2017 | The Naked Scientists® and Naked Science® are registered trademarks created by Dr Chris Smith. Information presented on this website is the opinion of the individual contributors and does not reflect the general views of the administrators, editors, moderators, sponsors, Cambridge University or the public at large.