summaryrefslogtreecommitdiff
path: root/3740/CH5/EX5.1
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH5/EX5.1')
-rw-r--r--3740/CH5/EX5.1/Ex5_1.jpgbin0 -> 61664 bytes
-rw-r--r--3740/CH5/EX5.1/Ex5_1.sce15
2 files changed, 15 insertions, 0 deletions
diff --git a/3740/CH5/EX5.1/Ex5_1.jpg b/3740/CH5/EX5.1/Ex5_1.jpg
new file mode 100644
index 000000000..ae79d23be
--- /dev/null
+++ b/3740/CH5/EX5.1/Ex5_1.jpg
Binary files differ
diff --git a/3740/CH5/EX5.1/Ex5_1.sce b/3740/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..40eb4670a
--- /dev/null
+++ b/3740/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,15 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 5.1
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+h=6.6e-34;//Planck's constant in SI Units
+nu=5e14;//Average frequency in Hz
+k=1.38e-23;//Boltzmann constant in SI Units
+T=2000;//Operating temperature in K
+
+R=exp(h*nu/(k*T))+1;//Dimensionless ratio of rates of spontaneous and stimulated emissions
+mprintf("\n R = %.1e",R);//The answers vary due to round off error