R=3
V_pp =10*6
Vrms=V_pp/(2*2**0.5)
Irms=Vrms/R
print "R.M.S. value of current=%.2f A"%(Irms)
T=3*10**-3
f=1/T
print "frequency of the voltage applied=%.2f m"%(f)
tc=2*2.5
print "time constant=%.6f ms"%(tc)
R=5*10**3
C=(tc*10**-3/R)*10**6
print "Capacitance=%.2f uF"%(C)
Tmax=10*R*C*10**-6
fmax=1/Tmax
print "Maximum frequency=%.2f m"%(fmax)