%I #8 Mar 30 2012 18:57:57
%S 8,4,0,8,5,4,5,9,1,7,1,7,3,3,2,8,3,4,5,4,4,0,8,8,1,0,8,4,9,9,8,3,6,3,
%T 3,2,7,1,4,6,7,7,0,4,4,2,2,4,1,4,9,1,2,8,3,0,8,5,4,5,0,1,9,1,4,0,6,9,
%U 5,5,9,6,1,8,0,7,7,1,7,8,4,3,4,2,2,6,1,1,6,7,5,2,1,3,2,4,1,8,5
%N Decimal expansion of x>0 satisfying x^2+x*sin(x)=2*cos(x).
%C See A199429 for a guide to related sequences. The Mathematica program includes a graph.
%e x=0.84085459171733283454408810849983633271467704422...
%t a = 1; b = 1; c = 2;
%t f[x_] := a*x^2 + b*x*Sin[x]; g[x_] := c*Cos[x]
%t Plot[{f[x], g[x]}, {x, -2 Pi, 2 Pi}, {AxesOrigin -> {0, 0}}]
%t r = x /. FindRoot[f[x] == g[x], {x, .64, .65}, WorkingPrecision -> 110]
%t RealDigits[r] (* A199430 *)
%Y Cf. A199429.
%K nonn,cons
%O 0,1
%A _Clark Kimberling_, Nov 06 2011
|