How do you calculate the value of AC using the theorem of Pythagoras?

The Pythagorean theorem relates to the sides of a right triangle and states that the sum of the squares of the lengths of the two shorter sides equals the square of the length of the longest side. If we apply this theorem to a right triangle where one side is the voltage (V), one side is the current (I), and the hypotenuse is the AC voltage (VAC), we can calculate VAC using the formula:

VAC = √(V² + I²)

This is known as the root mean square (RMS) calculation of the AC voltage.