#calculate the planar resistance
l=10*(10**-3) #resistive film length in meter
ps=2.44*(10**-8) #sheet resistivity of gold film in ohms-meter
w=10*(10**-3) #resistive film width in meter
t=0.1*(10**-6) #resistive fim thickness in meter
R=(l*ps)/(w*t)
print"The planar resistance(in ohms/square)is =",round(R,3),"ohms/square"
#compute the inductance
n=5 #number of turns
w=50 #film width in mils
s=100 #separation in mils
d0=2.5*n*(w+s)
L=0.03125*(n**2)*d0
print"The inductance(in (nH/mil))is =",round(L,2),"nH/mil"
#compute the capacitance
N=8 #number of fingers
er=13.10 #relative dielectric constant of GaAs
h=0.254 #substarte height in cm
l=0.00254 #finger length in cm
w=0.051 #finger base width in cm
A1=0.089 #contribution of interior finger for h>w in pF/cm
A2=0.1 #contribution of two external fingers for h>w in pF/cm
C=((er+1)*l*((A1*(N-3))+A2))/w
print"The Capacitance(in (pF/cm)is =",round(C,3),"pF/cm" #calculation mistake in book