#T85. 膨胀的木棍

膨胀的木棍

Description

When a thin wooden rod of length L is heated by n degrees, it expands to a new length L’=(1+n*C)*L, where C is the coefficient of thermal expansion.
If the rod is embedded between two walls and heated, it will expand to form a circular arc, with the chord of this arc being exactly the original position of the rod before heating.
Your task is to calculate the displacement of the rod's center.

Input Format

Three non-negative real numbers: the initial length of the rod (in millimeters), the temperature change (in degrees), and the coefficient of thermal expansion of the material. It is guaranteed that the rod will not expand to more than 1.5 times its original length.

Output Format

The displacement of the rod's center (in millimeters), rounded to three decimal places.

1000 100 0.0001

61.329