zero tolerance: 0.01
damping: 1
a: 1
f
f (x) = x * x / 2 - a * cos(x)
-6
-5
-4
-3
-2
-1
0
1
2
3
4
5
6
x
0
f'(x) = x + a * sin(x)