OFFSET
0,1
COMMENTS
See A199949 for a guide to related sequences. The Mathematica program includes a graph.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
EXAMPLE
least x: 0.525416279282353649071522053392...
greatest x: 2.1115948673130941666464133109...
MATHEMATICA
a = 1; b = 2; c = 4;
f[x_] := a*x^2 + b*Cos[x]; g[x_] := c*Sin[x]
Plot[{f[x], g[x]}, {x, -1, 3}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, .52, .53}, WorkingPrecision -> 110]
RealDigits[r] (* A199957 *)
r = x /. FindRoot[f[x] == g[x], {x, 2.1, 2.2}, WorkingPrecision -> 110]
RealDigits[r] (* A199958 *)
PROG
(PARI) a=1; b=2; c=4; solve(x=.5, 1, a*x^2 + b*cos(x) - c*sin(x)) \\ G. C. Greubel, Jun 22 2018
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 12 2011
STATUS
approved