407096: GYM102697 067 Tangential Velocity

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

067. Tangential Velocitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

When an object is rotating around a central point in circular motion, a force called centripetal force exists. Centripetal force is the force that pulls the object towards the center, preventing it from flying off in a straight line. An equation exists to relate the centripetal force $$$F_c$$$, the mass of the object $$$m$$$, the tangential velocity $$$v$$$, and the radius of the circle $$$r$$$. This equation is represented as follows: $$$F_c = \frac{mv^{2}}{r}$$$. To solve this problem, you will be given the centripetal force, the mass of the object, and the radius of the rotation. With this information, determine the tangential velocity of the moving object.

Input

The first line contains three space-separated floating point values that represent the centripetal force, the mass of the object, and the radius of the rotation respectively.

Output

Output a single floating point value that represents the tangential velocity of the movement.

ExampleInput
100 10 5
Output
7.0710678118654755

加入题单

算法标签: