import math
#given and derived
rm=75
im=300*(10**-6)
#case a
i=5
rsh=(rm*im)/float(i-im)
print "rsh=",format(rsh,'.5f'),"ohm"
#case b
i=7.5
rsh=(rm*im)/float(i-im)
print "rsh=",format(rsh,'.5f'),"ohm"
#case c
i=10
rsh=(rm*im)/float(i-im)
print "rsh=",format(rsh,'.5f'),"ohm"
import math
im=300*(10**-6)
rm=75
#case a
v=50
rse=(v/im)-rm
print "rse=",format(rse,'.2f'),"ohm"
#case b
v=75
rse=(v/im)-rm
print "rse=",format(rse,'.2f'),"ohm"
#case c
v=100
rse=(v/im)-rm
print "rse=",format(rse,'.2f'),"ohm"