summaryrefslogtreecommitdiff
path: root/2333/CH1/EX1.33
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2333/CH1/EX1.33
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2333/CH1/EX1.33')
-rwxr-xr-x2333/CH1/EX1.33/33.sce12
-rwxr-xr-x2333/CH1/EX1.33/33.txt6
2 files changed, 18 insertions, 0 deletions
diff --git a/2333/CH1/EX1.33/33.sce b/2333/CH1/EX1.33/33.sce
new file mode 100755
index 000000000..30929bc53
--- /dev/null
+++ b/2333/CH1/EX1.33/33.sce
@@ -0,0 +1,12 @@
+clc
+// Given that
+m_0 = 9e-31 // mass of electron in kg
+c = 3e8 // speed of light in m/sec
+KE = 1e6 // kinetic energy of electron in volts
+// Sample Problem 33 on page no. 59
+printf("\n # PROBLEM 33 # \n")
+printf(" Standard formula used \n")
+printf("\n E = m*c^2 \n")
+v = c* sqrt(1-(1/(1+KE*1.6e-19/(m_0*c^2)))^2) // velocity of electron in m/sec
+printf("\n Velocity of electron is %e m/sec. ",v)
+
diff --git a/2333/CH1/EX1.33/33.txt b/2333/CH1/EX1.33/33.txt
new file mode 100755
index 000000000..95988c7ec
--- /dev/null
+++ b/2333/CH1/EX1.33/33.txt
@@ -0,0 +1,6 @@
+ # PROBLEM 33 #
+ Standard formula used
+
+ E = m*c^2
+
+ Velocity of electron is 2.825479e+08 m/sec. \ No newline at end of file