In accordance with the declaration that I am reproducing the content of the Fonar website, I am posting in this section, without any changes or modifications, a script that allows the calculation of the inductance of a multilayer coil. This script was created by modifying an applet I wrote in the 1990s and added to the Fonar website in the early 21st century. From the perspective of modern JavaScript language usage, it contains many unused and even discouraged elements. I believe that from a practical perspective, the advantages of the script are negligible. However, it may be interesting for someone who programs in JavaScript and would like to see what a script written a quarter of a century ago looks like.

I should note in advance that due to the program's age, it may have problems running in some browsers. I don't experience any. I invite you to view, try, and analyze the source code:

Inductance of a multilayer air coil