Problems
Trapezoid 1
Trapezoid 1
The base CD, the diagonal BD and the side AD of trapezoid ABCD equal to p. The leg BC is q. Find the length of the diagonal AC.
Input
Two real numbers p and q.
Output
Print the length of the diagonal AC with 4 decimal digits.
Input example #1
5 6
Output example #1
8.0000