Problems
Area and volume of the pyramid
Area and volume of the pyramid
Party established the right square pyramid d, lateral rib p.Determine total surface area and volume of the pyramid.
Input
In a single line through the space base and side edge. The input data does not exceed 100.
Output
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