Observe the following drawing:
You’re given the area of the circle centered at as in the image and a number that denotes the proportion of area of circles:
Write a program that will calculate the area of quadrilateral and triangle.
Input contains only only two floating point number separated by a single space.
Constraints
You are to take double precision numbers as input.
Consider .
Area of Triangle
Area of quadrilateral
Input | Output |
---|---|
314.15926535897932384626433832795 3.00 | 100 600 |