OFFSET
1,2
COMMENTS
Distance from x to 13/10 is < 1/10^6.
See A198755 for a guide to related sequences. The Mathematica program includes a graph.
EXAMPLE
x=1.2999995979570405341847932770591791399959...
MATHEMATICA
a = 3; b = -4; c = 4;
f[x_] := a*x^2 + b*Cos[x]; g[x_] := c
Plot[{f[x], g[x]}, {x, -2, 2}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, 1.29, 1.3}, WorkingPrecision -> 110]
RealDigits[r] (* A198942 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 01 2011
STATUS
approved