Sine

Write a program that reads angles in degrees and writes their sine. In order to solve this problem, you are requested to use the following Taylor series: sinx=xx33!+x55!x77!+.\sin x = x -\frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots.

Input

Input consists of angles in degrees in the [180,180][-180,180] interval.

Output

For each given angle, print its sine in a line.

Observation

The checker of this problem tolerates absolute errors up to 0.001.

Problem information

Author: Unknown
Translator: Jordi Petit

Generation: 2026-01-25T10:34:30.717Z

© Jutge.org, 2006–2026.
https://jutge.org