OFFSET
1,2
COMMENTS
See A199170 for a guide to related sequences. The Mathematica program includes a graph.
EXAMPLE
negative: -1.4669783053971235684198141847804443...
positive: 1.2766713679407605540915074904412102...
MATHEMATICA
a = 1; b = 1; c = 2;
f[x_] := a*x^2 + b*x*Cos[x]; g[x_] := c
Plot[{f[x], g[x]}, {x, -2 Pi, 2 Pi}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -1.5, -1.3}, WorkingPrecision -> 110]
RealDigits[r] (* A199172 *)
r = x /. FindRoot[f[x] == g[x], {x, 1.27, .28}, WorkingPrecision -> 110]
RealDigits[r] (* A199173 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 04 2011
STATUS
approved