blob: 8d31e99fa2e67c16225cec4812a9c3eabd84c2fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear;
clc;
//Example 15.14
Vonl=5;
Vofl=4.96;
I1=0.005;
I2=1.5;
dVo=Vonl-Vofl;
dIo=I1-I2;
Rvf=-dVo/dIo;
printf('\noutput resistance=%f Ohm\n',Rvf)
LR=100*(Vonl-Vofl)/Vonl;
printf('\nload regulation =%.2f\n',LR)
|