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 /3740/CH7/EX7.5/Ex7_5.sce | |
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 '3740/CH7/EX7.5/Ex7_5.sce')
-rw-r--r-- | 3740/CH7/EX7.5/Ex7_5.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3740/CH7/EX7.5/Ex7_5.sce b/3740/CH7/EX7.5/Ex7_5.sce new file mode 100644 index 000000000..aa5aa3a9f --- /dev/null +++ b/3740/CH7/EX7.5/Ex7_5.sce @@ -0,0 +1,18 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 7.5
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+h=6.6e-34;//Planck's constant in SI Units
+e=1.6e-19;//Electronic charge in C
+m=9.1e-31;//Rest mass of electron in kg
+me=0.068*m;//Relative mass of electron in conduction band
+n1=1;//Initial state of electron
+n2=2;//Final state of electron
+Lz=10e-9;//Width of the quantum well in m
+
+DeltaE=(h^2)/(8*me)*((n2/Lz)^2-(n1/Lz)^2);//Energy difference between the two states in J
+mprintf("\n DeltaE = %.3f eV",DeltaE/e);//Dividing by 'e' to convert to eV
|