summaryrefslogtreecommitdiff
path: root/1847/CH1/EX1.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH1/EX1.3
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 '1847/CH1/EX1.3')
-rwxr-xr-x1847/CH1/EX1.3/Ch01Ex3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1847/CH1/EX1.3/Ch01Ex3.sce b/1847/CH1/EX1.3/Ch01Ex3.sce
new file mode 100755
index 000000000..6bca6e0ff
--- /dev/null
+++ b/1847/CH1/EX1.3/Ch01Ex3.sce
@@ -0,0 +1,8 @@
+// Scilab Code Ex1.3: Page-1.5 (2009)
+clc; clear;
+V = 20e+03; // Accelerating voltage of electron, V
+lambda = 12.25/sqrt(V); // de Broglie wavelength of the accelerated electron, m
+printf("\nThe de Broglie wavelength of the electron = %6.4f angstrom", lambda);
+
+// Result
+// The de Broglie wavelength of the electron = 0.0866 angstrom