summaryrefslogtreecommitdiff
path: root/374/CH6/EX6.6/66.sci
diff options
context:
space:
mode:
Diffstat (limited to '374/CH6/EX6.6/66.sci')
-rw-r--r--374/CH6/EX6.6/66.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/374/CH6/EX6.6/66.sci b/374/CH6/EX6.6/66.sci
new file mode 100644
index 000000000..56f85f4e0
--- /dev/null
+++ b/374/CH6/EX6.6/66.sci
@@ -0,0 +1,16 @@
+//chapter 6 example 6//
+clc
+clear
+//effeciency=n,charge of electron=e,wavwlength=l,plancks constant=h,speed of light=c,diode current=Ip,multiplication factor=M//
+n=0.7;
+e=1.6*(10^-19);
+l=0.8*(10^-6);//in meters//
+h=6.62*(10^-34);
+c=3*(10^8);//in mts per sec//
+R=(n*e*l)/(h*c);//responsivity//
+printf("\n Responsivity=%f AW-1\n",R)
+Po=0.8*(10^-6);//in watts//
+Ip=(Po*R)*(10^6);//diode current//
+I=10;//in micro amperes//
+M=I/Ip;
+printf("\n Multiplication factor=%f \n",M) \ No newline at end of file