Fu-Kwun Hwang
«
Embed this message
on: June 07, 2005, 03:36:02 pm »
Registed user can get files related to this applet for offline access. Problem viewing java? Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIME Assume the number of radioactive nucleus is N(t) --- not yet decayed into daugheter product.
Each nucleus has the same probability p (p<1) decayed into daughter product.
It means that dN(t)/dt= -p*N(t) , where dN(t) is the number of nucleus decayed into daughter product at time t.
The solution is N(t)=N(0) e
-pt , where N(0) is total number of nucleus at time t.
Each box represent a nucleus.
This applet let you set the probability for a nucleus to decay and watch how the number of decayed nuclei (color changed to RED) increased with time t.
Registed user can get files related to this applet for offline access. Problem viewing java? Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIME
Logged
line17341
Newbie
Offline
Posts: 1
«
Embed this message
Reply #1 on: November 30, 2005, 08:28:17 am »
[quote:a56ebe29b0="hwang"]This applet let you set the probability for a nuclei to decay and watch how the number of decayed nuclei change with time.[/quote:a56ebe29b0]
Where can i keep something like that? :X
Logged
Fu-Kwun Hwang
«
Embed this message
Reply #2 on: November 30, 2005, 08:52:17 am » posted from:Taipei,T'ai-pei,Taiwan
Registed user can get files related to this applet for offline access. Problem viewing java? Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIME Get click the above "GET APPLET FILE" button (at the end of the first message)!
Here is another simulation I have created many years ago (not with EJS).
It shows a series of radioactive nuclei decay: different color represent different nucleus.
The radioactive nuclei will decay into daughter product, and the daughter nucleus will decay another nucleus.
The original nuclei are color code in
BLACK .
It will decay into
RED ->
GREEN ->
YELLOW ->
BLUE (and become stable nuclei).
You can change decay time (unit: second) for each stage (from black -> red -> green -> yellow -> blue),
click
start and watch how the number of different nuclei changed with time -- colored traces.
Registed user can get files related to this applet for offline access. Problem viewing java? Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIME
*** There are 1 more attached files. You need to login to acces it!
Logged
bunia
Newbie
Offline
Posts: 1
«
Embed this message
Reply #3 on: September 29, 2006, 04:32:17 am »
What means p?
Logged
lookang
«
Embed this message
Reply #4 on: May 13, 2009, 10:22:08 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE
p is Nuclear Decay Probability
http://hyperphysics.phy-astr.gsu.edu/hbase/nuclear/halfli2.html i am trying to make n variable into a dynamically selectable slider.
but i can't seems to do it quickly.
my thoughts:
data is an array [n]*[n].
when n is changed in the slider, the data is not changed. why? what must be done to make an applet that allows of changes of number of atoms?
*** There are 1 more attached files. You need to login to acces it!
« Last Edit: May 13, 2009, 11:19:31 am by lookang »
Logged
lookang
«
Embed this message
Reply #5 on: May 18, 2009, 12:46:42 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE
i am exploring remixing this applet into
http://66.7.205.91/~lookangc/index.php?topic=707.msg1442#msg1442 radioactive decay of parent isotope to daughter D to further daughter S.
u can download all 3 files n run the html to see my applet made in Netlogo 3.0.2.
thinking of using Ejs to improve the version
Logged
lookang
«
Embed this message
Reply #7 on: May 22, 2009, 07:43:56 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE
hope to get some pointers how to get the EJs version "n" to be selectable by the slider, like mentioned in my early posts
Just figure out how to embed Netlogo applets
« Last Edit: May 22, 2009, 08:06:32 am by lookang »
Logged
Fu-Kwun Hwang
«
Embed this message
Reply #8 on: May 22, 2009, 09:41:01 am » posted from:Taipei,T\'ai-pei,Taiwan
I downloaded your attached xml files from previous message.
It seems that you want to be able to modify the nxn array from 40-400.
This will need a lot of memory when you have 400*400 cells.
I modified it and it can be chaged from 40-200.
1. You need to allocate the maximum number of cells needed.
2. The lattice GUI has been replaced with particleSet.
I did not understand why you want to modify range so I removed it.
Please check out the following modified version.
Embed a running copy of this simulation
Embed a running copy link(show simulation in a popuped window)
Full screen applet or
Problem viewing java? Add http://www.phy.ntnu.edu.tw/ to exception site list Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a
Creative Commons Attribution 2.5 Taiwan License
Please feel free to post your ideas about how to use the simulation for better teaching and learning.
Post questions to be asked to help students to think, to explore.
Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
Logged
lookang
«
Embed this message
Reply #9 on: May 22, 2009, 11:00:38 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE
nice! thx for solving the n problem.
i will explore more when time permits.
That is what i need to figure out but couldnt!
1. You need to allocate the maximum number of cells needed. 2. The lattice GUI has been replaced with particleSet.
The range thing was my attempt by trial and error of how to control the size of the view, i was confused by n*n and range. Lucky u solved it so i can continue to learn by constructing a model with support from u. will seek guidance after finding out more whether can remix in my netlogo version.
Thanks a million boss!
Logged
NagySandorIstvan
Newbie
Offline
Posts: 19
«
Embed this message
Reply #10 on: August 14, 2009, 11:46:25 pm » posted from:Budapest,Budapest,Hungary
Dear Prof. Hwang,
I have found a version of your simulation at
http://www.phy.ntnu.edu.tw/oldjava/decay/decay.html I am working on a web-based nuclear glossary for my students in Hungarian:
http://www.chem.elte.hu/Sandor.Nagy/NewClearGlossy/index.html .
Is it possible to get the source code of that program?
The reason I am asking it, because the color scheme could be better. I think e.g. that a gray background would make the
green text easier to read than the present background. I have also realized that the parameter "tau" is actually the half-life which should be denoted by
T 1/2 , or at least by T, because tau is used for denoting mean life in nuclear chemistry and physics.
Otherwise I like the applet very much. I am adding a supporting page to my glossary with an introductory page to your program. As soon as I upload it to the server, I will send you the link to it.
Best regards,
Sandor
PS: here is my home address if you want to react:
nasa@enternet.hu
Logged
Fu-Kwun Hwang
«
Embed this message
Reply #11 on: August 15, 2009, 09:42:41 am » posted from:Taipei,T\'ai-pei,Taiwan
You can find the source code decay.java as attachement file of the third message.
Those labels can be modified as parameters for applet tag.
You need to modified the source code for the background color.
<applet width="600" height="340" codebase="/java/decay/" code="decay.class"><param value="reset" name="Reset" /><param value="start" name="Start" /><param value="time=" name="Time" /><param value="decay time
tau1 " /><param value="τ2" name="
tau2 " /><param value="τ3" name="
tau3 " /><param value="τ4" name="
tau4 " /></applet>
Logged
NagySandorIstvan
Newbie
Offline
Posts: 19
«
Embed this message
Reply #12 on: August 25, 2009, 10:11:52 pm » posted from:Budapest,Budapest,Hungary
Dear Prof. Hwang,
Thank you for the instructions you gave me. Here is the link where you can find the Hungarian version of your great simulation:
http://www.chem.elte.hu/Sandor.Nagy/NewClearGlossy/Java/4StepSeries_Hwang/index.html Attached please find the java with the new color scheme. I hope you will like it.
Very best regards,
Sandor
*** There are 1 more attached files. You need to login to acces it!
Logged
diinxcom
watchlist
Jr. Member
Offline
Posts: 25
Designer
«
Embed this message
Reply #13 on: December 14, 2014, 05:26:58 pm » posted from:,,Satellite Provider
-*-
Content on this thread so help me. Thanks
Logged