summaryrefslogtreecommitdiff
path: root/3768/CH10/EX10.5
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH10/EX10.5')
-rw-r--r--3768/CH10/EX10.5/Ex10_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3768/CH10/EX10.5/Ex10_5.sce b/3768/CH10/EX10.5/Ex10_5.sce
new file mode 100644
index 000000000..ad2984b66
--- /dev/null
+++ b/3768/CH10/EX10.5/Ex10_5.sce
@@ -0,0 +1,13 @@
+//Example number 10.5, Page number 225
+
+clc;clear;
+close;
+
+//Variable declaration
+T1=5; //temperature(K)
+T2=5.1; //temperature(K)
+M1=199.5; //isotopic mass(amu)
+//Calculation
+M2=M1*(T1/T2)**2; //isotopic mass(amu)
+//Result
+printf("isotopic mass is %.2f a.m.u.",M2)