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 /1061/CH8/EX8.24/Ex8_24.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 '1061/CH8/EX8.24/Ex8_24.sce')
-rwxr-xr-x | 1061/CH8/EX8.24/Ex8_24.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1061/CH8/EX8.24/Ex8_24.sce b/1061/CH8/EX8.24/Ex8_24.sce new file mode 100755 index 000000000..784653b94 --- /dev/null +++ b/1061/CH8/EX8.24/Ex8_24.sce @@ -0,0 +1,12 @@ +//Ex:8.24
+clc;
+clear;
+close;
+c=3*10^8;// speed of light in m/s
+h=6.64*10^-34;// plank constant
+Eg=1.43;// gap energy in eV
+y=(1.24*10^-6)/Eg;// wavelength in m
+dy=0.1*10^-9;// in m
+df=(dy*c)/y^2;// width in Hz
+printf("The wavelength =%f um", y*10^6);
+printf("\n The width =%d GHz", df/10^9);
\ No newline at end of file |