OFFSET
1,3
COMMENTS
See A199597 for a guide to related sequences. The Mathematica program includes a graph.
LINKS
Iain Fox, Table of n, a(n) for n = 1..20000
EXAMPLE
least: -1.077309917524072030339979615126813664791...
greatest: 3.553241680682892523957265556234494902067...
MATHEMATICA
a = 1; b = 4; c = 1;
f[x_] := a*x^2 + b*x*Cos[x]; g[x_] := c*Sin[x]
Plot[{f[x], g[x]}, {x, -2, 4}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -1.1, -1.0}, WorkingPrecision -> 110]
RealDigits[r] (* A199613, least of 4 roots *)
r = x /. FindRoot[f[x] == g[x], {x, 3.5, 3.6}, WorkingPrecision -> 110]
RealDigits[r] (* A199614, greatest of 4 roots *)
PROG
(PARI) solve(x=-2, -1, x^2+4*x*cos(x)-sin(x)) \\ Iain Fox, Nov 22 2017
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Nov 08 2011
STATUS
approved