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.
Two real numbers p and q.
Print the length of the diagonal AC with 4 decimal digits.