OFFSET
1,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 = 1..10000
EXAMPLE
least x: 0.943379571591794622084167020515639838...
greatest x: 2.3781281686737679859682016614728862...
MATHEMATICA
a = 1; b = 4; 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, .94, .95}, WorkingPrecision -> 110]
RealDigits[r] (* A199965 *)
r = x /. FindRoot[f[x] == g[x], {x, 2.37, 2.38}, WorkingPrecision -> 110]
RealDigits[r] (* A199966 *)
PROG
(PARI) a=1; b=4; c=4; solve(x=2, 3, a*x^2 + b*cos(x) - c*sin(x)) \\ G. C. Greubel, Jun 23 2018
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 12 2011
STATUS
approved