summaryrefslogtreecommitdiff
path: root/3822/CH5/EX5.5.A/Ex5_5_A.sce
blob: 61bd16e5b069d501cc45d6163ac4843974c869b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 5.5(A)
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;

//given
etaT=0.20//total efficiency
Eg=1.43//bandgap energy in eV
V=2.5//applied voltage in V
etae=etaT*Eg*100/V//external power efficiency
mprintf("\n External power efficiency =%.2f percent ",etae);