summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.9/Ex1_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH1/EX1.9/Ex1_9.sce
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 '3014/CH1/EX1.9/Ex1_9.sce')
-rwxr-xr-x3014/CH1/EX1.9/Ex1_9.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3014/CH1/EX1.9/Ex1_9.sce b/3014/CH1/EX1.9/Ex1_9.sce
new file mode 100755
index 000000000..841e599e2
--- /dev/null
+++ b/3014/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,10 @@
+clc
+//Given that
+e = 1.6e-19 // charge on electron in coulomb
+V = 54 // Applied voltage in volts
+m = 9.1e-31 // Mass of electron in Kg
+h = 6.63e-34 // Plank constant
+printf("Example 1.9")
+
+lambda = h/(sqrt(2*e*V*m)) // calculation of de Broglie wavelength
+printf("\n de Broglie wavelength of neutron is %f angstrom.\n\n\n", lambda*1e10)