summaryrefslogtreecommitdiff
path: root/2780/CH1/EX1.21
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH1/EX1.21')
-rwxr-xr-x2780/CH1/EX1.21/Ex1_21.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2780/CH1/EX1.21/Ex1_21.sce b/2780/CH1/EX1.21/Ex1_21.sce
new file mode 100755
index 000000000..51cd592df
--- /dev/null
+++ b/2780/CH1/EX1.21/Ex1_21.sce
@@ -0,0 +1,12 @@
+clc
+//to calculate work to be done
+E=0.5*10^6 //rest energy of electron (MeV) E=m0*c^2
+v1=0.6*3*10^8 //speed of electron in (m/s)
+v2=0.8*3*10^8
+c=3*10^8 //speed of light in (m/s)
+K1=E*((1/sqrt(1-v1^2/c^2))-1) //kinetic energy in (eV)
+K2=E*((1/sqrt(1-v2^2/c^2))-1)
+w=(K2-K1)*1.6*10^-19
+disp("amount of work to be done is w="+string(w)+"J")
+
+