Uva 10286

Summary
You are asked to place the largest possible square inside a regular pentagon (whose internal angles are same and all the sides are same in length). You are given the information that one vertex of the square will be coincident with a vertex of the square as shown in the figure below. You will have to find the length of a side of the square when a side of the regular pentagon is given

Explanation
The idea is very simple and also the problem is pretty simple when you understand the simple math of finding the angles and applying sine law of triangle. You may check out this

Input
0.0000001 0.0000002 0.0000003

Output
0.0000001067 0.0000002135 0.0000003202