A198757 Decimal expansion of x>0 satisfying x^2+cos(x)=4.
2, 1, 2, 8, 1, 2, 6, 4, 6, 5, 6, 8, 4, 9, 2, 2, 4, 8, 7, 6, 5, 2, 4, 6, 8, 7, 9, 4, 9, 8, 3, 7, 9, 9, 1, 6, 8, 7, 8, 0, 9, 2, 8, 5, 3, 5, 0, 6, 7, 8, 4, 2, 3, 6, 7, 6, 4, 1, 1, 3, 0, 9, 6, 6, 3, 2, 8, 4, 3, 7, 0, 2, 2, 9, 8, 8, 7, 0, 2, 6, 3, 1, 0, 4, 7, 9, 5, 4, 3, 3, 1, 1, 1, 5, 2, 5, 6, 1, 4
Offset: 1
Examples
2.128126465684922487652468794983799168780928...
Crossrefs
Cf. A198755.
Programs
-
Mathematica
a = 1; b = 1; c = 4; f[x_] := a*x^2 + b*Cos[x]; g[x_] := c Plot[{f[x], g[x]}, {x, -3, 3}, {AxesOrigin -> {0, 0}}] r = x /. FindRoot[f[x] == g[x], {x, 2.1, 2.2}, WorkingPrecision -> 110] RealDigits[r] (* A198757 *)
Comments