blob: 2c4e1e919a7b446ac9350b505bef736b06e83e69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 6.10
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
E=1.15*(1.6e-19);//band gap energy in V
h=6.62e-34;//plank's constant in S.I units
c=3e8;//velocity of light in m/s
lamda_c=(h*c)/(E);//critical wavelength in meter
mprintf("The critical wavelength is=%.2f um",lamda_c*1e6);//multiplication by 1e6 to convert unit from m to um
//the answer vary due to roundingoff
|