blob: 5613c1e963a513a49e09d20de9bdc4e0c6a65699 (
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_5
//Page 317
clear;clc;
l=200;
i=2;
r_km=0.3;
x=150;
r=2*r_km/1000;
vd=i*r*(l*x-x^2/2);
I=i*l;
R=r*l;
tvd=1/2*I*R;
printf("Resistance of distributor per metre run = %.4f ohm \n\n", r);
printf("(i) Voltage drop upto %d m from feeding point = %.1f V \n\n", x, vd);
printf("(ii) Total current entering distributor = %d A \n\n", I);
printf(" Total resistance of distributor = %.2f ohm \n\n", R);
printf(" Maximum voltage drop = %d V \n\n", tvd);
|