OFFSET
1,3
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.72846631899717722235659184827479...
positive: 1.06154977463138382560203340351989...
MATHEMATICA
a = 1; b = 1; 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.73, -1.72}, WorkingPrecision -> 110]
RealDigits[r] (* A199046 *)
r = x /. FindRoot[f[x] == g[x], {x, 1.06, 1.07}, WorkingPrecision -> 110]
RealDigits[r] (* A199047 *)
PROG
(PARI) a=1; b=1; c=2; solve(x=0, 1.5, a*x^2 - c + b*sin(x)) \\ G. C. Greubel, Feb 19 2019
(Sage) a=1; b=1; c=2; (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
EXTENSIONS
Terms a(87) onward corrected by G. C. Greubel, Feb 19 2019
STATUS
approved