diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3020/CH14/EX14.1/ex14_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3020/CH14/EX14.1/ex14_1.sce')
-rwxr-xr-x | 3020/CH14/EX14.1/ex14_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3020/CH14/EX14.1/ex14_1.sce b/3020/CH14/EX14.1/ex14_1.sce new file mode 100755 index 000000000..9733fa0f2 --- /dev/null +++ b/3020/CH14/EX14.1/ex14_1.sce @@ -0,0 +1,15 @@ +clc;
+clear all;
+m = 9.1e-31; // Mass of an electron in Kg
+e = 1.6e-19; // Charge of an electron in Columbs
+h = 6.626e-34; // Planck's Constant
+V1 = 150; // Potential difference in Volts (case1)
+lambda1 = h/(sqrt(2*m*e*V1));
+disp('m',lambda1,'The de-broglie wavelength when V=150 volts is ')
+V2 = 5000; // Potential difference in Volts (case2)
+lambda2 = h/(sqrt(2*m*e*V2));
+disp('m',lambda2,'The de-broglie wavelength when V=5000 volts is ')
+V3 = 400; // Potential difference in Volts (case3)
+lambda3 = h/(sqrt(2*m*e*V3));
+disp('m',lambda3,'The de-broglie wavelength when V=400 volts is ')
+//slight variation in answer than in textbook
|