OFFSET
1,2
COMMENTS
See A199170 for a guide to related sequences. The Mathematica program includes a graph.
EXAMPLE
negative: -1.49351928086889105655633950993478182...
positive: 0.94494832910354696494592764037834555...
MATHEMATICA
a = 1; b = 2; c = 2;
f[x_] := a*x^2 + b*x*Cos[x]; g[x_] := c
Plot[{f[x], g[x]}, {x, -5, 3}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -1.5, -1.4}, WorkingPrecision -> 110]
RealDigits[r] (* A199178 *)
r = x /. FindRoot[f[x] == g[x], {x, .2, .53}, WorkingPrecision -> 110]
RealDigits[r] (* A199179 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 04 2011
EXTENSIONS
a(91) onwards corrected by Georg Fischer, Aug 03 2021
STATUS
approved