summaryrefslogtreecommitdiff
path: root/2096/CH1/EX1.15.b.i/ex_1_15_b_i.sce
blob: 7cf35dc9200dc523d49f841ccb6274c7c9f1dffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 1.15.b.i// loading error
clc;
clear;
close;
//given data :
Rv=125; // internal resistance in kilo-ohm
V=180; // in volts
I=6; // im mili-ampere
Rt=V/I;
Ra=Rt;
Rat=(Rt*Rv)/(Rv-Rt);
Le=((Rat-Ra)/Rat)*100;
disp(Le,"percentage loading error,Le(%) = ")