summaryrefslogtreecommitdiff
path: root/1655/CH7/EX7.5.8/Example_7_5_8.sce
blob: b28574db1bc47b26d041a669fe204d3e8902f116 (plain)
1
2
3
4
5
6
7
8
9
10
// Example 7.5.8  page 7.27

clc;
clear;

ne=3.9d6;  //electrons collected
np=6d6;    //photons incident

eta=100*ne/np;  //computing efficiency
printf("\nQuantum efficiency is %d percent.",eta);