diff options
Diffstat (limited to '2939/CH1/EX1.9/Ex1_9.sce')
-rwxr-xr-x | 2939/CH1/EX1.9/Ex1_9.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2939/CH1/EX1.9/Ex1_9.sce b/2939/CH1/EX1.9/Ex1_9.sce new file mode 100755 index 000000000..9dfbc191c --- /dev/null +++ b/2939/CH1/EX1.9/Ex1_9.sce @@ -0,0 +1,16 @@ +
+//Ex1_9
+
+clc;
+
+//Given:
+
+m=1/(6.023*10^23);//mass of 1 atom in g
+m1=m*10^-3;//mass of 1 atom in Kg
+c=3*10^8;// velocity in m/s
+//solution:
+
+e=m1*c*c; // energy in J
+e1=e/(1.6*10^-13);// energy in MeV
+
+printf("The energy in MeV is = %f ",e1)
|