diff options
Diffstat (limited to '374/CH4/EX4.1/41.sci')
-rw-r--r-- | 374/CH4/EX4.1/41.sci | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/374/CH4/EX4.1/41.sci b/374/CH4/EX4.1/41.sci new file mode 100644 index 000000000..a41770da7 --- /dev/null +++ b/374/CH4/EX4.1/41.sci @@ -0,0 +1,17 @@ +//chapter 4 example 1//
+clc
+clear
+//recombination life time=Tr,drive current=I,wavelength=l,total carrier life time=Tp,efficicency=E,internal generated power=Pint//
+Tr=50;//in nano seconds//
+Tnr=100;//in nano seconds//
+Tp=(Tr*Tnr)/(Tr+Tnr);
+printf("\n Total carrier combination life time=%fns \n",Tp);
+E=Tp/Tr;
+printf("\n efficiency=%f \n",E);
+h=6.62*(10^-34);//plancks constant//
+c=3*(10^8);//speed of light//
+I=50*(10^-3);//current in amperes//
+l=0.85*(10^-6);//wavelength in metres//
+e=1.6*(10^-19)//charge of electron//
+Pint=((E*I*h*c)/(e*l)*10^(3));//in milli watts//
+printf("\n Internal generated power=%f*mW \n",Pint);
|