# What is the output voltage of a battery that expends 3.6 J of energy in moving 0.5C of charge?
# Given data
W = 3.6# # Work=3.6 Jouls
Q = 0.5# # Charge=0.5 Columb
V = W/Q#
print 'The Output Voltage of a Battery = %0.2f Volts'%V
#The charge of 12 C moves past a given point every second. How much is the intensity of charge flow?
# Given data
Q = 12# # Charge=12 Columb
T = 1# # Time=1 Sec i.e every second
I = Q/T#
print 'The Intensity of Charge Flow = %0.2f Amps'%I
# The charge of 5 C moves past a given point in 1 s. How much is the current?
# Given data
Q = 5# # Charge=5 Columb
T = 1# # Time=1 Sec
I = Q/T#
print 'The Current = %0.2f Amps'%I
# Calculate the resistance for the following conductance values: (a) 0.05 S (b) 0.1 S
# Given data
G1 = 0.05# # G1=0.05 Siemins
G2 = 0.1# # G1=0.1 Siemins
R1 = 1/G1#
print 'The Resistance for Conductance value 0.05 S = %0.2f Ohms'%R1
R2 = 1/G2#
print 'The Resistance for Conductance value 0.1 S = %0.2f Ohms'%R2
#Calculate the conductance for the following resistance values: (a) 1 kOhms (b)5 kOhms
# Given data
R1 = 1.0*10**3# # R1=1k Ohms
R2 = 5.0*10**3# # R2=5k Ohms
G1 = 1/R1#
print 'The Conductance for Resistance value 1 kohms = %0.e Siemens'%G1
print 'OR 1 mS'
G2 = 1/R2#
print 'The Conductance for Resistance value 5 kohms = %0.e Siemens'%G2
print 'OR 200 uS'