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 /1085/CH16 | |
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 '1085/CH16')
-rwxr-xr-x | 1085/CH16/EX16.1/ex16_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1085/CH16/EX16.1/ex16_1.sce b/1085/CH16/EX16.1/ex16_1.sce new file mode 100755 index 000000000..e1e0ab1ff --- /dev/null +++ b/1085/CH16/EX16.1/ex16_1.sce @@ -0,0 +1,14 @@ +//Exam:16.1
+clc;
+clear;
+close;
+T_c=4.2;//critical temperature of mercury
+k=1.4*10^(-23);//
+E_g=3*k*T_c;//energy gap (in Joule)
+e=1.6*10^(-19);//charge on the electron
+E=E_g/e;//energy gap (in electron volt)
+h=6.6*10^(-34)// in J-s
+c=3*10^8;//in m/s
+wavelength=h*c/E_g;//wavelength of a photon (in m)
+disp(E,'energy gap (in electron volt)=');
+disp(wavelength,'wavelength of a photon (in m)=');
\ No newline at end of file |