aircoreNumberOfTurns(diameter, length, inductance)

import electronics.inductors.aircore-1

Calculate the number of turns needed for an aircore inductor.

import electronics.inductors.aircore-1;
aircoreNumberOfTurns( 1cm, // diameter 2cm, // length 10uH // inductance )
diameterThe diameter of the coil.
lengthThe length of the coil.
inductanceThe inductance of the coil.
return valueThe number of turns of wire needed for the coil.