login
Decimal expansion of x>0 satisfying x^2+x*sin(x)=3*cos(x).
2

%I #8 Mar 30 2012 18:57:57

%S 9,6,2,1,7,9,5,0,5,1,0,9,3,2,7,0,9,1,3,6,7,2,6,2,7,5,4,4,1,0,8,5,1,4,

%T 7,3,3,2,1,7,9,1,7,9,2,7,5,3,1,4,6,2,3,2,0,8,9,1,7,3,6,1,0,9,6,5,9,2,

%U 9,2,6,7,6,7,3,3,9,1,6,4,7,0,7,2,3,6,8,1,3,5,7,6,6,0,3,4,9,0,2

%N Decimal expansion of x>0 satisfying x^2+x*sin(x)=3*cos(x).

%C See A199429 for a guide to related sequences. The Mathematica program includes a graph.

%e x=0.962179505109327091367262754410851473321791...

%t a = 1; b = 1; c = 3;

%t f[x_] := a*x^2 + b*x*Sin[x]; g[x_] := c*Cos[x]

%t Plot[{f[x], g[x]}, {x, -Pi, Pi}, {AxesOrigin -> {0, 0}}]

%t r = x /. FindRoot[f[x] == g[x], {x, .96, .97}, WorkingPrecision -> 110]

%t RealDigits[r] (* A199431 *)

%Y Cf. A199429.

%K nonn,cons

%O 0,1

%A _Clark Kimberling_, Nov 06 2011