summaryrefslogtreecommitdiff
path: root/1223/CH2/EX2.10/Ex2_10.sce
blob: 404ea64175e86cb2468953aff878aa3d971405ef (plain)
1
2
3
4
5
6
7
8
9
clear;
clc;
//Example 2.10
n=1;//quantum efficiency
A=10^-2;//cm^2 junction area
p=5*10^17;//(cm^-2-s^-1) incident photon flux
e=1.6*10^-16;//charge of an electron
Iph=n*e*p*A;
printf('\nphotocurrent=%0.1f mA\n',Iph)