import math
#Variable declaration
V = 132.0*10**3 #Voltage(V)
n = 3.0 #Number of phase
f = 50.0 #Frequency(Hz)
l = 50.0 #Line length(km)
C = 0.0157*10**-6 #Capacitance to earth(F/km)
#Calculation
L = 1/(n*(2*math.pi*f)**2*C*l) #Inductance(H)
X_L = 2*math.pi*f*L #Reactance(ohm)
I_F = V/(3**0.5*X_L) #Current(A)
rating = I_F*V/(3**0.5*1000) #Rating of arc suppression coil(kVA)
#Result
print('Inductance, L = %.1f Henry' %L)
print('Rating of arc suppression coil = %.f kVA' %rating)
print('\nNOTE: Changes in the obtained answer from that of textbook is due to more approximation in the textbook')