electricpy.peak

electricpy.peak(val)[source]

Sinusoid RMS to Peak Converter.

Provides a readable format to convert an RMS (Root-Mean-Square) value to its peak representation. Performs a simple multiplication with the square-root of two.

\[V_{\text{peak}} = \sqrt{2} \cdot V_{\text{RMS}}\]

Examples

>>> import electricpy as ep
>>> ep.peak(120)
169.7056274847714