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.979320146556211460335749713988...
positive: 1.4183100916225250456919496008037...
MATHEMATICA
a = 1; b = 1; c = 3;
f[x_] := a*x^2 + b*Sin[x]; g[x_] := c
Plot[{f[x], g[x]}, {x, -3, 2}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -1.98, -1.97}, WorkingPrecision -> 110]
RealDigits[r] (* A199048 *)
r = x /. FindRoot[f[x] == g[x], {x, 1.4, 1.5}, WorkingPrecision -> 110]
RealDigits[r] (* A199049 *)
PROG
(PARI) a=1; b=1; c=3; solve(x=0, 1.5, a*x^2 - c + b*sin(x)) \\ G. C. Greubel, Feb 19 2019
(Sage) a=1; b=1; c=3; (a*x^2 + b*sin(x)==c).find_root(0, 2, x) # G. C. Greubel, Feb 19 2019
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 02 2011
STATUS
approved