electricpy.rms

electricpy.rms(val)[source]

Sinusoid Peak to RMS Converter.

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

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

Examples

>>> import electricpy as ep
>>> ep.rms(169.7)
119.99602076735711