#Given
f1=100
f2=2.0
I0=50
#Calculation
import math
f=f1/f2
Im=0.636*I0
Iv=0.707*I0
I=I0*math.sin(60*3.14/180.0)
#Result
print"(i) Frequency of A.C applied is",f,"c.p.s"
print"(ii) Mean value of current is",Im,"A"
print"(iii) Virtual value of current is",Iv,"A"
print"(iv) Value of current is",round(I,1),"A"
#Given
R=10.0 #ohm
E0=200
#Calculation
import math
Ev=E0/math.sqrt(2)
Iv=Ev/R
Pav=Ev*Iv
#Result
print"(i) r.m.s value of voltage is", E0,"V"
print"(ii) r.m.s value of current is",round(Iv,2),"A"
print"(iii)Power dissipated is",Pav,"W"
#Given
L=1 #H
Ev=110 #V
f=70 #Hz
#Calculation
import math
Xl=2*3.14*f*L
I=Ev/Xl
I0=math.sqrt(2)*I
#Result
print"(a) Reactance is", round(Xl,0)
print"(b) Current through inductance is",round(I,2),"A"
print"(c) Peak value of current is",round(I0,3),"A"
#Given
L=2*10**-3
w=200 #rad/s
I0=0.2
#Calculation
Xl=w*L
e=L*I0*w
I0=e/Xl
#Result
print"Maximum value of induced current is", I0,"A"
#Given
C=10*10**-6 #F
f=50 #cycles/s
Ev=110
#Calculation
import math
Xc=1/(math.pi*2*f*C)
Iv=Ev/Xc
#Result
print"Virtual value of current is", round(Iv,3),"A"
#Given
L=4
R=30 #ohm
Ev=200
f=50
#Calculation
import math
Xl=2*math.pi*f*(L/math.pi)
Z=math.sqrt(R**2+Xl**2)
Iv=Ev/Z
#Result
print"current flowing in the circuit is", round(Iv,3),"A"
#Given
E=100
I=1.0
Iv=0.5
f=50
#Calculation
import math
R=E/I
Z=E/Iv
Xl=math.sqrt(Z**2-R**2)
L=Xl/(2*math.pi*f)
#Result
print"Inductance of the coil is", round(L,2),"H"
print"Resistance is",R,"ohm"
print"Impedence is",Z,"ohm"
#Given
L=0.50 #H
R=100.0 #ohm
f=50 #Hz
Ev=240
#Calculation
import math
Iv=Ev/(math.sqrt(R**2+(2*math.pi*f*L)**2))
I0=math.sqrt(2)*Iv
a=2*math.pi*f*L/R
a1=math.atan(a)*180/3.14
#Result
print"(a) Maximum current in the coil is", round(I0,3),"A"
print"(b) Phase difference is",round(a1,1),"degree (e.m.f. leads current)"
#Given
Ev=220
Iv=0.5
#Calculation
import math
R=Ev/Iv
Xl=Ev/Iv
Z=math.sqrt(R**2+Xl**2)
Iv1=Ev/Z
#Result
print"(a) X is a resistor of",R,"ohm\n and Y is a inductor of",Xl,"ohm"
print"(b) Current in the circuit is",round(Iv1,3),"A"
#Given
Z=100 #ohm
a=45 #degree
f=1000
#Calculation
import math
Xl=Z/math.sqrt(2)
L=Xl/(2*math.pi*f)
#Result
print"Self inductance of the coil is", round(L*10**2,4),"*10**-2 H"
#Given
R=10 #ohm
Ev=220
f=50 #Hz
Iv=2.0 #A
#Calculation
import math
Z=Ev/Iv
Xc=math.sqrt(Z**2-R**2)
#Result
print"Reactance of the capacitor is",round(Xc,2),"ohm"
#Given
R=10
C=0.1*10**-6 #F
Ev=100 #V
f=50
#Calculation
import math
Z=math.sqrt(R**2+(1/(2*math.pi*f*C))**2)
Iv=Ev/Z
#Result
print"Current in the circuit is", round(Iv*10**3,3),"*10**-3 A"
#Given
C=100*10**-6
R=40
Ev=110
f=60
#Calculation
import math
Iv=Ev/(math.sqrt(R**2+(1/(2*math.pi*f*C)**2)))
Iv1=math.sqrt(2)*Iv
a=1/(2*math.pi*f*C*R)
a1=math.atan(a)*180/3.14
#Result
print"(a) Maximum current in the circuit is", round(Iv1,2),"A"
print"(b) Phase lag between the current maximum and voltage maximum is",round(a1,2),"degree (e.m.f. lags behind the current)"
#Given
C=100*10**-6
R=50 #ohm
L=0.5 #H
Ev=110
f=50
#Calculation
import math
Z=math.sqrt(R**2+(2*math.pi*f*L-1/(2*math.pi*f*C))**2)
I0=Ev/Z
#Result
print"r.m.s value of current is", round(I0,3),"A"
#Given
L=0.1 #H
C=25*10**-6
R=25.0
e=314
E0=310
#Calculation
import math
f=e/(2*math.pi)
Xl=2*math.pi*f*L
Xc=1/(2*math.pi*f*C)
A=Xc-Xl
Z=math.sqrt(R**2+(Xc-Xl)**2)
Ev=E0/math.sqrt(2)
Iv=Ev/Z
a1=(Xc-Xl)/R
a2=math.atan(a1)*180/3.14
a3=a2*math.pi/180.0
V=Iv*Xc
V1=Iv*Xl
V2=Iv*R
L=1/(((2*math.pi*f)**2)*C)
#Result
print"(a) The frequency of the e.m.f is",round(f,0),"cycle s**-1"
print"(b) The reactance of the circuit is",round(A,0),"ohm"
print"(c) The impedance of the circuit is",round(Z,1),"ohm"
print"(d) The current in the circuit is",round(Iv,2),"A"
print"(e) The phase angle of the current is",round(a3,3),"rad"
print"(f) The expression for the instantaneous value of the current is 3.125 cos(314t-1.316)"
print"(g) Effective voltage across the capacitor is",round(V,1),"V"
print" Effective Voltage across the inductor is",round(V1,1),"V"
print"Effective voltage across the resistor is",round(V2,2),"V"
print"(h) Value of inductance is",round(L,3),"H"
#Given
f=50 #Hz
L=101.5*10**-3
#Calculation
import math
C=1/((2*math.pi*f)**2*L)
#Result
print"Capacitance of the capacitor is",round(C*10**6,0),"micro F"
#Given
Ev=230 #V
L=5 #H
C=80*10**-6
R=40.0
#Calculation
import math
f=1/(math.pi*2*math.sqrt(L*C))
E0=math.sqrt(2)*Ev
A=E0/R
#Result
print"(i) Angular frequency is", round(f,2),"Hz"
print"(ii) Impedence of circuit is",R,"ohm"
print"(iii) Amplitude of the current is",round(A,2)
#Given
C=2*10**-6 #F
R=100 #ohm
L=8 #H
E=200 #V
#Calculation
import math
F=1/((2*math.pi*math.sqrt(L*C)))
D=2*math.pi*F*L
L1=E/R
#Result
print"The resonant frequency is",round(F,2),"Hz"
print"(i) The inductive and capacitive reactances of the circuit is",D,"ohm"
print"(ii) Total impedance of the circuit is 100","ohm"
print"(iii) Peak value of current is",L1,"A"
print"(iv) The voltages across inductor and resistor differ in phase by","90"
print"(v) The voltages across inductor and capacitor differ in phase by","180"
#Given
Ev=220 #V
f=50 #Hz
R=100.0 #ohm
Vr=65 #V
Vc=415 #V
Vl=204 #V
#Calculation
import math
Iv=Vr/R
Xl=Vl/Iv
L=Xl/(2*math.pi*f)
Xc=Vc/Iv
C=1/(2*math.pi*f*Xc)
C1=1/(4*math.pi**2*f**2*L)
#Result
print"(i) The current in the circuit is",Iv,"A"
print"(ii) The value of the inductor is",round(L,0),"H"
print"(iii) The value of the capacitor C is",round(C*10**6,1),"micro F"
print"(iv) The value of C required to produce resonance is",round(C1*10**6,1),"micro F"
#Given
L=3 #H
C=27*10**-6
R=7.4 #ohm
#Calculation
import math
w0=1/(math.sqrt(L*C))
Q=1/R*(math.sqrt(L/C))
#Result
print"Resonant frequency is", round(w0,1),"rad/s"
print"Q factor is",round(Q,2)
#Given
R=30 #ohm
Xl=40
E0=220
I0=1
#Calculation
import math
Z=math.sqrt(R**2+Xl**2)
a=R/Z
Pav=E0*I0*a/(math.sqrt(2)*math.sqrt(2))
#Result
print"Power consumed in the circuit is", Pav,"Watt"
#Given
Ev=100
f=50 #Hz
C=10*10**-6
R=100
#Calculation
import math
Xc=1/(2*math.pi*f*C)
Iv=Ev/Xc
Pav=Ev*Iv*Ev/(math.sqrt(Ev**2+Xc**2))
#Result
print"(a) The reactance of the capacitor is",round(Xc,2),"ohm"
print"(b) Current flowing is",round(Iv,3),"A"
print"(c) Average power supplied is",round(Pav,2),"W"
#Given
V=60.0
P=10
Ev=100
f=60 #Hz
#Calculation
import math
I=P/V
R=f/I
Z=Ev/I
L=math.sqrt(Z**2-R**2)/(2*math.pi*f)
R1=Z-R
#Result
print"(i) The inductance is", round(L,3),"henry"
print"(ii) Value of resistance is",R1,"ohm"
print"(iii) If resistance is used in the place of inductance, the electrical energy is wasted."
#Given
V=50.0 #V
P=20 #watt
Ev=250 #V
f=50
#Calculation
import math
I=P/V
R=V/I
Z=Ev/I
C=1/(2*math.pi*f*Ev*math.sqrt(6))
#Result
print"Value of capacitance required is", round(C*10**6,3)*10**-6,"F"
#Given
Ev=200
f=50 #H
R=50
L=0.3
C=40*10**-6
#Calculation
import math
Xl=2*math.pi*f*L
Xc=1/(2*math.pi*f*C)
Z=math.sqrt(R**2+(Xl-Xc)**2)
Iv=Ev/Z
a=R/Z
Pav=Ev*Iv*a
#Result
print"Impedence in the circuit is", round(Z,2),"ohm"
print"Power in the circuit is",round(Pav,1),"watt"
#Given
Ev=200 #v
L=5 #H
C=80
R=40.0
#Calculation
import math
W=10**3/(math.sqrt(L*C))
Iv=Ev/R
I0=math.sqrt(2)*Iv
Pav=Ev*L*math.cos(0*3.14/180.0)
print"(a) Angular frequency is",W,"rad s**-1"
print"(b) The current amplitude is",round(I0,2),"A"
print"(c) The power dissipation in the circuit is",Pav,"Watt"
#Given
L=5.0 #H
C=80*10**-6 #F
R=40.0 #ohm
Ev=230 #V
#Calculation
import math
D=1/math.sqrt(L*C)
Iv=Ev/R
I0=math.sqrt(2)*Iv
S=Iv*R
S1=Iv*D*L
S2=Iv/(1/D*C)
S3=Iv/(D*L-1/D*C)
#Result
print"(a) The resonant angular frequency is",D,"rad s**-1"
print"(b) The impedance of the circuit and the amplitude of curremt is",round(I0,2),"A"
print"(c) The R.M.S. potential drop across LC is",round(S3,0)
#Given
L=0.12 #H
C=480*10**-9 #F
R=23 #ohm
Ev=230 #V
#Calculation
import math
D=1/(math.sqrt(L*C))
Iv=Ev/(math.sqrt(R**2+(D*L-1/D*C))**2)
I0=(math.sqrt(2)*Ev)/(math.sqrt(R**2+(D*L-1/D*C))**2)
I1=(math.sqrt(2)*Ev)/R
EvIv=Ev*(I1/math.sqrt(2))
#Result
print"(a) The source frequency is",round(D,1),"rad s**-1"
print" The maximum value is",round(I1,2),"A"
print"(b) Average power will also be maximum at resonant frequency is",round(D,1),"rad s**-1"
print" The value of this maximum power is",EvIv,"Watt"
#Given
L=80*10**-3 #H
C=60*10**-6 #F
Ev=230 #V
f=50 #Hz
#Calculation
import math
Iv=-Ev/((2*math.pi*f*L)-(1/(2*math.pi*f*C)))
I0=math.sqrt(2)*Iv
Iv1=Iv*2*math.pi*f*L
Iv2=Iv*(1/(2*math.pi*f*C))
Pav=math.cos(90*3.14/180.0)*Ev
Pav1=math.cos(-90*3.14/180.0)*Ev
#Result
print"(a) The current amplitude is",round(Iv,2),"A","and r.m.s. value is",round(I0,2),"A"
print"(b) The r.m.s. value of potential drops across L is",round(Iv1,1),"V","and across C is",round(Iv2,1),"W"
print"(c) The average power transferred to the inductor is",round(Pav,0)
print"(d) The average power transferred to the capacitor is",round(Pav1,0)
print"(e) Total average power absorbed is zero"