OFFSET
1,2
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 = 1..10000
EXAMPLE
least x: -0.8096299991295524131861096984840271321...
greatest x: 1.254187962477919553363912326321801374...
MATHEMATICA
a = 1; b = -2; c = 1;
f[x_] := a*x^2 + b*Cos[x]; g[x_] := c*Sin[x]
Plot[{f[x], g[x]}, {x, -1, 2}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -.9, -.8}, WorkingPrecision -> 110]
RealDigits[r] (* A200018 *)
r = x /. FindRoot[f[x] == g[x], {x, 1.2, 1.3}, WorkingPrecision -> 110]
RealDigits[r] (* A200019 *)
PROG
(PARI) a=1; b=-2; c=1; solve(x=1, 2, a*x^2 + b*cos(x) - c*sin(x)) \\ G. C. Greubel, Jun 24 2018
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 12 2011
STATUS
approved