from __future__ import division
from math import sqrt
V1=230#
#a=(N2/N1)
b=(1/10)#
V2=V1*b#
print "V2 =",V2,"V"
Vm=sqrt(2)*V2#
print "Vm=%0.2f"%Vm,"V"
Vdc=0.318*Vm#
print 'Vdc=%0.2f'%Vdc,"V"
PIV=Vm#
print 'PIV=%0.2f'%PIV,"V"
from __future__ import division
from math import sqrt
RL=20*10**3#
V2=24#
Vm=sqrt(2)*V2#
print 'Vm=%0.2f'%Vm,"V"
Im=Vm/RL#
print 'Im=%0.2f'%(Im*10**3),"mA"
Idc= 0.318*Im#
print 'Idc=%0.2f'%(Idc*10**3),"mA"
from __future__ import division
from math import sqrt
V1=230#
#a=(N2/N1)
b=(1/2)#
RL=200#
V2=V1*b#
print 'V2=%0.2f'%V2,"V"
Vm=sqrt(2)*V2#
print 'Vm=%0.2f'%Vm,"V"
Im=Vm/RL#
print 'Im=%0.2f'%Im,"A"
Pm=(Im**2)*RL#
print 'Pm=%0.2f'%Pm,"W"
Vdc=0.318*Vm#
print 'Vdc=%0.2f'%Vdc,"V"
Idc=(Vdc/RL)#
print 'Idc=%0.2f'%Idc,"A"
Pdc=(Idc**2)*RL#
print 'Pdc=%0.2f'%Pdc,"W"
from __future__ import division
from math import pi
Vdc=30#
RL=600#
Rf=25#
Idc=(Vdc/RL)#
print 'Idc=%0.2f'%Idc,"A"
Im=pi*Idc#
print 'Im=%0.2f'%Im,"A"
Vin=Im*(Rf+RL)#
print 'Vin=%0.2f'%Vin,"V"
from __future__ import division
from math import sqrt
V2=30#
RL=5.1*10**3#
VS=V2/2#
Vm=sqrt(2)*VS#
Vdc=0.636*Vm#
print 'Vdc=%0.2f'%Vdc,"V"
vdc=Vdc/RL#
print 'vdc=%0.2f'%(vdc*1e3),"mV"
from __future__ import division
from math import sqrt
V1=230#
fin=50#
#let a=N1/N2
a=1/4#
V2=V1*a#
Vm=sqrt(2)*V2#
Vdc=0.636*Vm#
print 'Vdc=%0.2f'%Vdc,"V"
PIV=Vm#
print 'PIV=%0.2f'%PIV,"V"
fout=2*fin#
print 'fout=%0.2f'%fout,"Hz"
from __future__ import division
from math import pi,sqrt
V1=230#
#LET a=N2/N1
a=1/5#
RL=100#
V2=V1*a#
Vs=V2/2#
Vm=sqrt(2)*Vs#
Vdc=2*Vm/pi#
print 'Vdc=%0.2f'%Vdc,"V"
PIV=2*Vm#
print 'PIV=%0.2f'%PIV,"V"
from __future__ import division
from math import pi,sqrt
Vs=200#
Imax=700*10**-3#
Iavg=250*10**-3#
Imax=0.8*Imax#
print 'Imax=%0.2f'%(Imax*10**3),"mA"
Vm=sqrt(2)*Vs#
RL=Vm/Imax#
print 'RL=%0.2f'%RL,"ohm"
Vdc=2*Vm/pi#
print 'Vdc=%0.2f'%Vdc,"V"
Idc=Vdc/RL#
print 'Idc=%0.2f'%Idc,"A"
PIV=2*Vm#
print 'PIV=%0.2f'%PIV,"V"
from __future__ import division
from math import sqrt,pi
f=50#
y=0.05#
RL=100#
L=RL/(y*3*sqrt(2)*2*pi*f)#
print "L=%0.2f"%L,"H"
f=400#
y=0.05#
L=RL/(y*3*sqrt(2)*2*pi*f)#
print "L=%0.2f"%L,"H"
from __future__ import division
Vdc=30#
RL=1*10**3#
y=0.01#
C=2890/(y*RL)#
print "C=%0.2f"%C,'microF'
from __future__ import division
Vdc=12#
Idc=100*10**-3#
y=0.01#
L=1#
C=1.195/(L*y)#
print "C=%0.2f"%C,'microF'
from __future__ import division
Idc=0.2#
Vdc=30#
C1=100#
C2=100#
L=5#
f=50#
RL=Vdc/Idc#
y=5700/(L*C1*C2*RL)#
print 'y=',y*100,"%"
from __future__ import division
Vs=150#
Idc=2#
Vdc=2.34*Vs#
print 'Vdc=%0.2f'%Vdc,"V"
I=Idc/0.955#
print 'I=%0.2f'%I,"A"
Iavg=2/3#
print 'Iavg=%0.2f'%Iavg,"A"
Pdc=Vdc*Idc#
print 'Pdc=%0.2f'%Pdc,"W"