diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3822/CH5/EX5.1 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3822/CH5/EX5.1')
-rw-r--r-- | 3822/CH5/EX5.1/Ex5_1.jpg | bin | 0 -> 160031 bytes | |||
-rw-r--r-- | 3822/CH5/EX5.1/Ex5_1.sce | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/3822/CH5/EX5.1/Ex5_1.jpg b/3822/CH5/EX5.1/Ex5_1.jpg Binary files differnew file mode 100644 index 000000000..36c48b52f --- /dev/null +++ b/3822/CH5/EX5.1/Ex5_1.jpg diff --git a/3822/CH5/EX5.1/Ex5_1.sce b/3822/CH5/EX5.1/Ex5_1.sce new file mode 100644 index 000000000..d808eae32 --- /dev/null +++ b/3822/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,20 @@ + + +//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 5.1
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+Tc=727;//temperature in celcius
+lamda=0.5*10^-6;//wavength of emitting radiation in M
+h=6.626*10^-34;//Plank's constant in SI units
+KB=1.38*10^-23;//boltzman constant in SI units
+c=3*10^8;//speed of light in m/s
+f=c/lamda;//frequency in Hz
+T=Tc+273;//temperature in kelvin
+c1=(h*f)/(KB*T);//constant value
+B21byA21Pf=1/(exp(c1)-1);//ratio of stimulated and spontaneous emission rate
+mprintf("\n Ratio between stimulated and spontaneous emission is =%.1fx10^-13",B21byA21Pf*1e13); //multiplication by 1e13 to convert the ratio to 10^-13
|