summaryrefslogtreecommitdiff
path: root/3523/CH12/EX12.17.4/Ex12_4.sce
blob: f3774afe5810decd73389e652fd14a4700b84784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Example 4// Ch 12
clc;
clear;
close;
// given data
l=10;//length of cable in km
C4=0.5*10^-6 * l;//in F
printf("Capacitance %f F",C4)
f=50;//in Hz
V=10^4;//in V
Ic=2*V*2*%pi*f*C4/sqrt(3);//line charging current in A
chargKVA=sqrt(3)*V*Ic*10^-3;
printf("charging KVA %f KVAr",chargKVA)