summaryrefslogtreecommitdiff
path: root/374/CH6/EX6.3/63.sci
diff options
context:
space:
mode:
Diffstat (limited to '374/CH6/EX6.3/63.sci')
-rw-r--r--374/CH6/EX6.3/63.sci15
1 files changed, 15 insertions, 0 deletions
diff --git a/374/CH6/EX6.3/63.sci b/374/CH6/EX6.3/63.sci
new file mode 100644
index 000000000..75873e6bf
--- /dev/null
+++ b/374/CH6/EX6.3/63.sci
@@ -0,0 +1,15 @@
+//chapter 6 example 3//
+clc
+clear
+//energy=E,plancks constant=h,speed of light=c,frequency=f,responsivity=R,incident optical power=Po//
+h=6.62*(10^-34);
+c=3*(10^8);//in mts/sec//
+E=1.5*(10^-19);//in joules//
+l=((h*c)/E)*(10^6);
+printf("\n a) wavelength at which photodiode is operating=%f micro meter\n",l)
+n=0.65;//efficiency//
+e=1.6*(10^-19);
+R=((n*e*l)/(h*c))*(10^-6);
+Ip=3*(10^-6);
+Po=(Ip/R)*(10^6);
+printf("\n b) Responsivity=%fo micro watts \n",Po) \ No newline at end of file