Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #5 Mar 30 2012 18:57:56
%S 5,8,5,3,2,0,5,6,4,3,4,1,9,9,3,0,7,6,5,4,2,6,7,4,6,8,6,9,6,7,3,7,7,2,
%T 8,3,6,0,9,1,9,4,4,1,8,5,7,0,6,8,3,8,9,5,9,1,6,3,9,4,2,7,5,0,4,7,2,3,
%U 3,0,4,0,8,9,3,1,4,1,8,2,1,3,1,2,1,2,5,7,5,7,4,1,8,3,9,7,6,8,0
%N Decimal expansion of x>0 satisfying x^2+3*sin(x)=2.
%C See A198866 for a guide to related sequences. The Mathematica program includes a graph.
%e negative: -2.131047764056355710001133695358553...
%e positive: 0.58532056434199307654267468696737728...
%t a = 1; b = 3; c = 2;
%t f[x_] := a*x^2 + b*Sin[x]; g[x_] := c
%t Plot[{f[x], g[x]}, {x, -3, 2}, {AxesOrigin -> {0, 0}}]
%t r = x /. FindRoot[f[x] == g[x], {x, -2.2, -2.1}, WorkingPrecision -> 110]
%t RealDigits[r] (* A199056 *)
%t r = x /. FindRoot[f[x] == g[x], {x, .58, .59}, WorkingPrecision -> 110]
%t RealDigits[r] (* A199057 *)
%Y Cf. A198866.
%K nonn,cons
%O 0,1
%A _Clark Kimberling_, Nov 02 2011