АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

984. Equation with tg

Time Limit: 1 seconds
Memory Limit:65536KB
Points:5
View Problem Statistics Submit Problem added Administrator

Требуется найти корень уравнение tg(x)=x+k, лежащий в интервале от 0 до Pi/2

Input

Вводится одно вещественное число k в диапазоне от 1.0 до 1000.0

Output

Выведите корень уравнения x с точностью до 6 знаков после десятичной точки

Sample

InputOutput
1
1.132267

View Problem Statistics Submit Author/source:
Sorted Problems / Mathematics / Algebra, analysis /
984. 19. Open brackets 6. Polynom's Roots
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.453 sec.
© Copyright VSTU, AVT, Nosov D.A.