summaryrefslogtreecommitdiff
path: root/3281/CH6/EX6.5/ex6_5.sce
blob: 98122e56176d12d68ff124fa99492d226ead5bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Page Number: 333
//Example 6.5
clc;
//Given
Vc=11D+3; //V
Ir=0.85; //A
V0=31D+3; //V
Pout=50D+3; //W
I=7; //A

//Electronic efficiency
ne=Pout/(V0*I);
disp('%',ne*100,'Electronic efficiency:');

//Overall efficiency
no=Pout/(Vc*(I-Ir));
disp('%',no*100,'Overall efficiency:');

//Answer for elecytronic efficiency should be 23.04% but it is given as 36.4 in book