lc()

import electronics.rlc.lcosc-1

Calculate LC oscillator (tank) circuit.

import electronics.rlc.lcosc-1;
lc( 100kHz, 10nF )

Uses the well-known $$ f = \frac{1}{2π\sqrt{LC}} $$ formula.

It takes any pair of L, C and f parameters and outputs the third one. The parameter to be calculated is determined by the units of the arguments.

For more details, see http://en.wikipedia.org/wiki/LC_circuit.