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.7251712054289301271344240020632...
positive: 0.42302818188516042885129332473260...
MATHEMATICA
a = 1; b = 2; c = 1;
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.8, -1.7}, WorkingPrecision -> 110]
RealDigits[r] (* this sequence *)
r = x /. FindRoot[f[x] == g[x], {x, .42, .43}, WorkingPrecision -> 110]
RealDigits[r] (* A199081 *)
PROG
(PARI) a=1; b=2; c=1; solve(x=-2, 0, a*x^2 + b*sin(x) - c) \\ G. C. Greubel, Feb 20 2019
(Sage) a=1; b=2; c=1; (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