import **electronics.inductors.aircore-1**

Calculate the length of the coil needed for an aircore inductor.

import electronics.inductors.aircore-1;

```
aircoreLength(
```*2cm*, // diameter
*10uH*, // inductance
*20* // number of turns
)

diameter | The diameter of the coil. |

inductance | The inductance of the coil. |

numberOfTurns | The number of turns of wire in the coil. |

return value | The length of the coil. |