Problems
Area and volume of the pyramid
Area and volume of the pyramid
Party established the right square pyramid \textbf{d}, lateral rib \textbf{p}. Determine total surface area and volume of the pyramid.
\InputFile
In a single line through the space base and side edge. The input data does not exceed \textbf{100}.
\OutputFile
Through the gap the required area and volume, the result output to three decimal places.
Input example #1
20 15
Output example #1
847.214 666.667