diff options
Diffstat (limited to '3622/CH6/EX6.2/Ex6_2.sce')
-rw-r--r-- | 3622/CH6/EX6.2/Ex6_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3622/CH6/EX6.2/Ex6_2.sce b/3622/CH6/EX6.2/Ex6_2.sce new file mode 100644 index 000000000..38913abaa --- /dev/null +++ b/3622/CH6/EX6.2/Ex6_2.sce @@ -0,0 +1,9 @@ +//Initialisation of variables
+clc
+amu=1.6558e-24
+c=3e10
+ev=1.6e-12//electron volt
+E=amu*c^2/ev
+EinMeV=E/10^6
+printf('energy in million electron volt is %d MeV \n',EinMeV)
+
|