summaryrefslogtreecommitdiff
path: root/2216/CH8/EX8.6/ex_8_6.sce
blob: b0de7db9d3fe56a81b1a6a4f8b6ca8cc1c324b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//Example 8.6: Gain and The output photocurrent
clc;
clear;
close;
//given data :
format('v',6)
disp("part (a)")
tf=6*10^-12;// in s
del_f=450*10^6;// in Hz
G=1/(2*%pi*tf*del_f);
disp(G,"the gain = ")
disp("part (b)")
format('e',10)
tf=6*10^-12;// in s
del_f=450*10^6;// in Hz
G=1/(2*%pi*tf*del_f);
eta=75/100;
P_in=5*10^-6;// in W
e=1.6*10^-19;// in J
lamda=1.3*10^-6;
h=6.626*10^-34;//in Js
c=3*10^8;// in m s^-1
I=(G*eta*P_in*e*lamda)/(h*c);
disp(I,"The output photo-current,I(A)")