0% found this document useful (0 votes)
17 views3 pages

Program

Uploaded by

s22s20112
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

Program

Uploaded by

s22s20112
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Program

1. Exp 1 Program:

dm=input("enter the distance between two conductors D in m");


d=input("enter the diameter of one conductor d in m");
r=(d/2);
ds=0.7788*r
L=2*10^-7*log(dm/ds)*1000
C=((2*3.14*8.854*10^-12)/(log(dm/r)))*1000
fprintf("the inductance per phase per km is %f", L);
fprintf("the capacitance per phase per km is %f", C);

2. Exp 2 Program:

d12=input("enter the distance between d12 in m")


d23=input("enter the distance between d23 in m")
d31=input("enter the distance between d31 in m")
d=input("enter the diameter of the conductor in m")
r=d/2
ds=0.7788*r
dm=nthroot((d12*d23*d31),3)
L=2*10^-7*log(dm/ds)*1000
C=((2*3.14*8.854*10^-12)/(log(dm/r)))*1000
3. Exp 3 Program:
dab=input("enter the value of dab in m")
da1b=input("enter the value of da'b in m")
dab1=input("enter the value of dab' in m")
da1b1=input("enter the value of da'b' in m")
dbc=input("enter the value of dbc in m")
db1c=input("enter the value of db'c in m")
dbc1=input("enter the value of dbc' in m")
db1c1=input("enter the value of db'c' in m")
dca=input("enter the value of dca in m")
dc1a=input("enter the value of dc'a in m")
dca1=input("enter the value of dca' in m")
dc1a1=input("enter the value of dc'a' in m")
daa1=input("enter the value of daa' in m")
dbb1=input("enter the value of dbb1 in m")
dcc1=input("enter the value of dcc1 in m")
r=input("enter the value of radius of the conductor in m")
r1=0.7788*r
dab=nthroot((dab*dab1*da1b*da1b1),4)
dbc=nthroot((dbc*dbc1*db1c*db1c1),4)
dca=nthroot((dca*dca1*dc1a*dc1a1),4)
dm=nthroot((dab*dbc*dca),3)
ds1=nthroot((r1*r1*daa1*daa1),4)
ds2=nthroot((r1*r1*dbb1*dbb1),4)
ds3=nthroot((r1*r1*dcc1*dcc1),4)
ds=nthroot((ds1*ds2*ds3),3)
L=2*10^-7*log(dm/ds)*1000
C=((2*3.14*8.854*10^-12)/(log(dm/r)))*1000

You might also like