summaryrefslogtreecommitdiff
path: root/3630/CH11/EX11.13/Ex11_13.sce
blob: d672dcb03a8b5510dd0614adcc14f2186b4b8990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
Vppout=7.5; //Volt
RL=10; //Ohm
Iceq=0.119; //Ampere
Icave=Vppout/(2*3.14*RL); //Ampere
I1=0.00691; //Ampere
Icc=Icave+I1; //Ampere
Vcc=15; //Volt
Ps=Vcc*Icc; //Watt
PLmax=Vppout^2/(8*RL); //Watt
N=(PLmax/Ps)*100;
disp('%',N,"N=");//The answers vary due to round off error