diff options
Diffstat (limited to '2780/CH1/EX1.19/Ex1_19.sce')
-rwxr-xr-x | 2780/CH1/EX1.19/Ex1_19.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2780/CH1/EX1.19/Ex1_19.sce b/2780/CH1/EX1.19/Ex1_19.sce new file mode 100755 index 000000000..24ec280b0 --- /dev/null +++ b/2780/CH1/EX1.19/Ex1_19.sce @@ -0,0 +1,10 @@ +clc
+//to calculate velocity of the parcticle
+c=3*10^8 //light speed(m/s)
+// we know that E(energy)=mc^2
+// mo=rest mass
+//E=3 moc^2=mc^2 or m=3 mo (given that total energy of the particle is thrice its rest energy)
+m=3 // relativistic mass
+//formula is v=c sqrt(1-(mo/m)^2)
+v=sqrt(c^2*(1-(1/m)^2))
+disp("velocity of the particle is v="+string(v)+"m/s")
|