construct a rectangle with sides of length a and b.
Then construct a circle whose diameter is a diagonal, PQ, of the rectangle.
Now draw the perpendicular bisector of that diagonal to cross the circle at R.
The distance |PR| is the RMS value of a and b.
|PQ| = sqrt(a2 + b2) is the hypotenuse of the right
isosceles triangle PQR,