%I #5 Mar 30 2012 18:57:56
%S 8,0,0,6,7,8,3,0,4,5,7,0,0,9,1,1,2,1,1,2,4,1,3,4,0,6,6,0,4,5,3,2,7,5,
%T 6,2,0,5,7,6,8,7,6,6,4,6,2,2,7,2,4,0,5,6,9,1,3,6,4,5,5,1,9,4,5,3,5,4,
%U 4,3,9,3,1,7,5,4,2,0,8,6,9,8,6,6,3,1,8,3,9,2,7,7,9,0,2,5,5,1,5
%N Decimal expansion of x>0 satisfying 2*x^2+sin(x)=2.
%C See A198866 for a guide to related sequences. The Mathematica program includes a graph.
%e negative: -1.21165128243157712269097010844196865387...
%e positive: 0.80067830457009112112413406604532756205...
%t a = 2; b = 1; c = 2;
%t f[x_] := a*x^2 + b*Sin[x]; g[x_] := c
%t Plot[{f[x], g[x]}, {x, -2, 2}, {AxesOrigin -> {0, 0}}]
%t r = x /. FindRoot[f[x] == g[x], {x, -1.3, -1.2}, WorkingPrecision -> 110]
%t RealDigits[r] (* A199063 *)
%t r = x /. FindRoot[f[x] == g[x], {x, .80, .81}, WorkingPrecision -> 110]
%t RealDigits[r] (* A199064 *)
%Y Cf. A198866.
%K nonn,cons
%O 0,1
%A _Clark Kimberling_, Nov 02 2011
|