Chapter - 1 : Units, Dimensions and Standards

Example - 1.1 : Page No- 14

In [4]:
from __future__ import division
# Given data
V_desh= 100 # in V
I_desh= 10 # in amp
R_desh= V_desh/I_desh # in Ω
print "New unit of resistance = %0.f Ω" %R_desh
C_desh= I_desh/V_desh # in F
print "New unit of capacitance = %0.1f Farad" %C_desh
L_desh= V_desh/I_desh # in L
print "New unit of inductance = %0.f Henrys" %L_desh
New unit of resistance = 10 Ω
New unit of capacitance = 0.1 Farad
New unit of inductance = 10 Henrys