<a href="https://colab.research.google.com/github/physics-calculations/circuits/blob/master/circuit-calculations.ipynb" target="_parent"></a>

# Circuit Calculations
---





















> ### Imports




```
import math
import sympy
from sympy.abc import *
pretty = sympy.pretty
sqrt = math.sqrt
```

> ### Resonant Frequency
* &omega; = 1/sqrt(L*C)
    * L = inductance, C = capacitance


```
L = 1 #@param {type:"number"}
C = 1 #@param {type:"number"}
w = 1/sqrt(L*C)
print(pretty(omega) + ' = ' + str(w))
```

    ω = 1.0

