summaryrefslogtreecommitdiff
path: root/3763/CH10/EX10.3/Ex10_3.sce
blob: 33ba1ea1e320f84b5e8d942ef0d26b330dbfc823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//
//

//Variable declaration
eta=0.65     //quantum efficiency
n=5*10**5    //number of photons incident

//Calculation
N=eta*n      //number of electron-hole pairs

//Result
printf("\n number of electron-hole pairs is %0.3f  *10**5",N/10**5)