Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #5 Mar 30 2012 18:57:53
%S 1,1,6,7,8,7,3,1,5,2,7,3,8,5,6,7,1,9,7,9,3,0,8,1,2,2,4,2,7,6,9,9,6,3,
%T 0,8,1,7,5,4,3,1,1,3,5,6,7,0,9,6,3,3,5,0,8,3,6,5,3,9,2,4,5,1,0,0,6,7,
%U 5,4,6,9,5,2,1,7,2,6,9,0,0,0,3,0,3,1,4,3,2,3,5,5,8,4,9,8,1,5,1
%N Decimal expansion of least x having 2*x^2+2x=cos(x).
%C See A197737 for a guide to related sequences. The Mathematica program includes a graph.
%e least x: -1.1678731527385671979308122427699630...
%e greatest x: 0.3484950481738429165566841847199059939...
%t a = 2; b = 2; c = 1;
%t f[x_] := a*x^2 + b*x; g[x_] := c*Cos[x]
%t Plot[{f[x], g[x]}, {x, -2, 1}]
%t r1 = x /. FindRoot[f[x] == g[x], {x, -1.2, -1.1}, WorkingPrecision -> 110]
%t RealDigits[r1](* A198124 *)
%t r2 = x /. FindRoot[f[x] == g[x], {x, .34, .35}, WorkingPrecision -> 110]
%t RealDigits[r2](* A198125 *)
%Y Cf. A197737.
%K nonn,cons
%O 1,3
%A _Clark Kimberling_, Oct 22 2011