Let the two vectors be A and B, and the angle between the two vectors be ϴ. Let the resultant of these two vectors be R, From vector algebra we know that, the magnitude R of the resultant vector R is given by,
R² = (A² + B² + 2AB cos ϴ)
here ϴ=90°
cos 90=0
so equation becomes
R=√(A²+B²)