f(x) = cos(x)
a = 10.0626 (slider from 2 to 15, step 0.0000001)
A: (a, f(a))
B: (a + 3, f(a))