summaryrefslogtreecommitdiff
path: root/98/CH13/EX13.16/example13_16.sce
blob: afcbe1e243985236749d48223741551ea12b2d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Chapter 13
//Example 13_16
//Page 328

clear;clc;

i=1.25;
//minimum voltage occurs at point C
Vc=220;
x=450;
r_km=0.05;
l=800;

r=2*r_km/1000;
Vac=i*r*x^2/2;
Va=Vc+Vac;
Vbc=i*r*(l-x)^2/2;
Vb=Vc+Vbc;

printf("Voltage drop in section AC = %.2f V \n\n", Vac);
printf("Voltage at feeding point A = %.2f V \n\n", Va);
printf("Voltage drop in section BC = %.2f V \n\n", Vbc);
printf("Voltage at feeding point B = %.2f V \n\n", Vb);