summaryrefslogtreecommitdiff
path: root/2465/CH3/EX3.1/Example_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2465/CH3/EX3.1/Example_1.sce')
-rw-r--r--2465/CH3/EX3.1/Example_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2465/CH3/EX3.1/Example_1.sce b/2465/CH3/EX3.1/Example_1.sce
new file mode 100644
index 000000000..093b57b8d
--- /dev/null
+++ b/2465/CH3/EX3.1/Example_1.sce
@@ -0,0 +1,16 @@
+
+//Chapter-3,Example 1,Page 56
+clc;
+close;
+
+M_0=200 //mass of radium
+
+total_time= 8378-1898 //in years
+
+//since t-half for radium is 1620 years
+
+t_half=6480/1620 // number of half lives
+
+m_left=M_0*(1/2)^t_half //mass of radium left
+
+printf('mass of radium left after 6480 years is %.1f mg',m_left)