REM calculation of pancake style inductor
ANSWER = 0
UP = 0
REM r = radius of coil in inches
r = 1.5
REM w = width of windings
w = 0.05
REM inductance of coil in uH
ind = 100
REM calculation of inductance
UP = ((8*r) + (11*w)) * ind
ANSWER = SQR(UP/r^2)
PRINT "for inductance of = ";ind"uH"
PRINT "Coil radius = ";r" inches";" or = ";r*25.4;"mm"
PRINT "Coil width of track = ";w" inches";" or = ";w*25.4;"mm"
PRINT "number of track turns = "ANSWER" turns"
REM impedance calculations example
REM co-axail impedance is Z=SQR(L/C)
REM RG8 = 50ohms
REM RG8 = 100pF/m
REM RG8 = 0.25uH/m