АВТ
Language: Russian
English

Remote Training on Programming

Problems Online status Contests
News FAQ E-learning
For authors:
Register  ||  Login
 
Hello, Guest! Please login or register.

1811. Sinuses

Time Limit: 1 seconds
Memory Limit:262144KB
Points:100
View Problem Statistics Submit Problem added debug

Даны целое число N и вещественное число x. Найти sin sin ... sin x (N операций sin).

Input

Целое число N (0 ≤ N ≤ 30) и вещественное число x (-1 ≤ x ≤ 1), разделённые переводом строки

Output

Выведите одно вещественное число - ответ с точностью не менее 4 знаков после десятичной точки.

Sample

InputOutput
1
0.5
0.4794

View Problem Statistics Submit Problem discussion Author/source:
Problems from Contests and Camps / School olympiads and couses of Vologda region / Different Contests / Contest VML for 7 Form, cycles /
1810. 01 - Power and Factorial 1811. 1812. 03 - Sum of sinuses 1813. 04 - Double factorial 1814. 05 - Approximate Sinus
time generating 0.109 sec.
© Copyright VSU, AVT, Nosov D.A., Andrianov I.A.