OFFSET
1,2
COMMENTS
See A198866 for a guide to related sequences. The Mathematica program includes a graph.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
negative: -1.96188424641083489341928077977489...
positive: 0.77498081442304344595859350247040...
MATHEMATICA
a = 1; b = 2; c = 2;
f[x_] := a*x^2 + b*Sin[x]; g[x_] := c
Plot[{f[x], g[x]}, {x, -2, 2}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -1.97, -1.96}, WorkingPrecision -> 110]
RealDigits[r](* A199082 *)
r = x /. FindRoot[f[x] == g[x], {x, .77, .78}, WorkingPrecision -> 110]
RealDigits[r](* A199083 *)
PROG
(PARI) a=1; b=2; c=2; solve(x=-2, 0, a*x^2 + b*sin(x) - c) \\ G. C. Greubel, Feb 20 2019
(Sage) a=1; b=2; c=2; (a*x^2 + b*sin(x)==c).find_root(-2, 0, x) # G. C. Greubel, Feb 20 2019
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 02 2011
STATUS
approved