home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
T.C. 1,001 Programme der Spitzenklasse
/
T._C._1001_Programme_der_Spitzenklasse.iso
/
richter
/
8547
/
8547.mhs
/
RICHTER.DTP
/
MERCURY
/
DECAY.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
396b
|
12 lines
; This problem demonstrates how to solve a user-defined
; transcendental function of time.
; The problem is to calculate MassUnknown, the mass of
; 100 kg uranium 238 after one million years.
; Also calculate how long it would take to decay to 1 kg.
Mass(Years) := InitialMass * 2^(-Years/HalfLife)
InitialMass = 100
HalfLife = 10e6
MassUnknown = Mass(1e6)
1 = Mass(TimeUnknown)