diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /623/CH1/EX1.1.27/U1_C1_27.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '623/CH1/EX1.1.27/U1_C1_27.sce')
-rwxr-xr-x | 623/CH1/EX1.1.27/U1_C1_27.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/623/CH1/EX1.1.27/U1_C1_27.sce b/623/CH1/EX1.1.27/U1_C1_27.sce new file mode 100755 index 000000000..d6590d0d5 --- /dev/null +++ b/623/CH1/EX1.1.27/U1_C1_27.sce @@ -0,0 +1,13 @@ +//variable initialization
+RestEnergy=0.51 //rest energy of electron (Mev)
+T=2000 //potential difference i.e. kinetic energy (Mev)
+
+//part(i)effective mass of electron in terms of its rest mass
+EffectiveMass=1+(T/RestEnergy); //ratio of effective mass of electron and rest mass
+
+//part(ii)speed of electron in terms of the speed of light
+Beta=(1-(1/EffectiveMass)^2)^(1/2); //Calculatio of Beta
+
+printf("\n\t The effective mass of electron = %.2f*mo ;mo is rest mass of electron\n\t The speed of electron = %.10f*c ;c is speed of light",EffectiveMass,Beta);
+
+//Note: In the book answer of m/mo is slightly wrong
|