summaryrefslogtreecommitdiff
path: root/3845/CH28/EX28.8
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3845/CH28/EX28.8
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3845/CH28/EX28.8')
-rw-r--r--3845/CH28/EX28.8/Ex28_8.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3845/CH28/EX28.8/Ex28_8.sce b/3845/CH28/EX28.8/Ex28_8.sce
new file mode 100644
index 000000000..2995b19c4
--- /dev/null
+++ b/3845/CH28/EX28.8/Ex28_8.sce
@@ -0,0 +1,13 @@
+//Example 28.8
+m=9.11*10^-31;//Mass of the electron (kg)
+c=3*10^8;//Speed of light (m/s)
+v=0.990*c;//Velocity of the electron (m/s)
+Gamma=1/sqrt(1-v^2/c^2);
+KE_rel=(Gamma-1)*m*c^2;//Relativistic kinetic energy (J)
+KE_rel=KE_rel*1/(1.60*10^-13);//Relativistic kinetic energy (MeV)
+printf('a.Relativistic kinetic energy = %0.2f MeV',KE_rel)
+KE_class=(1/2)*m*v^2;//Classical kinetic energy (J)
+KE_class=KE_class*1/(1.60*10^-13);//Classical kinetic energy (MeV)
+printf('\nb.Classical kinetic energy = %0.3f MeV',KE_class)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest