summaryrefslogtreecommitdiff
path: root/1172/CH3/EX3.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH3/EX3.4
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 '1172/CH3/EX3.4')
-rwxr-xr-x1172/CH3/EX3.4/3_4.txt5
-rwxr-xr-x1172/CH3/EX3.4/Example3_4.sce13
2 files changed, 18 insertions, 0 deletions
diff --git a/1172/CH3/EX3.4/3_4.txt b/1172/CH3/EX3.4/3_4.txt
new file mode 100755
index 000000000..5f45ee3ff
--- /dev/null
+++ b/1172/CH3/EX3.4/3_4.txt
@@ -0,0 +1,5 @@
+ # Problem 4 #
+
+ Standard formula Used
+ E =(1/2)*m *v^2
+ Velocity of moving electron is 1.875229e+07 m/s.
diff --git a/1172/CH3/EX3.4/Example3_4.sce b/1172/CH3/EX3.4/Example3_4.sce
new file mode 100755
index 000000000..0224ffd49
--- /dev/null
+++ b/1172/CH3/EX3.4/Example3_4.sce
@@ -0,0 +1,13 @@
+clc
+//Given that
+E = 1e3 // energy of moving electron in eV
+h = 6.624e-34 // plank's constant
+c = 3e8 // speed of light
+e = 1.6e-19 // charge on electron
+m_e = 9.1e-31
+//Sample Problem 4 Page No. 136
+printf("\n\n\n # Problem 4 # \n")
+printf("\n Standard formula Used \n E =(1/2)*m *v^2")
+v = sqrt(2 * E * 1.6e-19/ m_e) //calculation of Velocity of moving electron
+printf("\n Velocity of moving electron is %e m/s.", v)
+