summaryrefslogtreecommitdiff
path: root/1946/CH9/EX9.18/Ex_9_18.sce
blob: 953255b55e332d9aa1cba8bc819d60e7727ffe05 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Example 9.18;//efficiency
clc;
clear;
close;
e=1.6*10^-19;//elecronic charge
h=1300;//wavelength in nano meter
C=3*10^8;//SPEED of light in meter per second
R=0.374;//Responsivity is in ampere per watt
ht=6.62*10^-34;//plank constt.
n=((R*ht*C)/(e*h*10^-9))*100;
disp(n,"Efficiency is")