Skip to content
UPEEC

LC Resonant Frequency

Medium#engineering#electronics· solved by 0 · time limit 2.0 s

An inductor LL and capacitor CC resonate at f0=12πLCf_0 = \frac{1}{2\pi\sqrt{LC}}. Print f0f_0 in Hz with 2 decimals.

Input

LL in millihenries and CC in microfarads.

Output

f0f_0

Constraints

10−4≤L,C≤10510^{-4} \le L, C \le 10^5

Sample 1

Input

10 1

Output

1591.55

Sample 2

Input

1 100

Output

503.29

Sign in or join free to run and submit your solution.