summaryrefslogtreecommitdiff
path: root/2216/CH8/EX8.2/ex_8_2.sce
blob: b8251bf8a782157a375a988d902d16925daa94c7 (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
25
26
27
28
29
30
//Example 8.2: The quantum efficiency,Maximum possible band gap energy and mean output
clc;
clear;
close;
//given data :
disp("part (a)")
format('v',5)
e=1;// electron
p=2;// photon
eta=(e/p)*100;
disp(eta,"The quantum efficiency,eta(%) = ")
disp("part (b)")
h=6.626*10^-34;//in Js
c=3*10^8;// in m s^-1
lamda_c=0.85*10^-6;// in m
Eg=((h*c)/lamda_c)/1.6*10^19;
disp(Eg,"Maximum possible band gap energy,Eg(eV) = ")
disp("part (c)")
e=1;// electron
p=2;// photon
eta=(e/p);
e=1.6*10^-19;// in J
h=6.626*10^-34;//in Js
c=3*10^8;// in m s^-1
lamda_c=0.85*10^-6;// in m
Eg=((h*c)/lamda_c);
P_in=10*10^-6;// in W
Ip=((eta*e*P_in)/Eg)*10^6;
disp(Ip,"The mean output,Ip(micro A) = ")