A197814 Decimal expansion of x>0 having x^2+x=4*cos(x).
1, 0, 2, 5, 1, 1, 9, 1, 1, 1, 9, 9, 2, 4, 2, 9, 0, 1, 4, 8, 4, 6, 1, 9, 8, 5, 7, 5, 0, 0, 5, 7, 8, 3, 2, 5, 1, 5, 3, 5, 3, 8, 3, 5, 2, 1, 4, 6, 7, 3, 4, 8, 9, 4, 2, 1, 5, 9, 2, 7, 4, 5, 5, 9, 7, 6, 7, 4, 9, 2, 7, 9, 1, 0, 2, 1, 2, 6, 0, 6, 9, 3, 1, 4, 3, 6, 1, 5, 9, 8, 8, 0, 8, 4, 5, 3, 6, 1, 0
Offset: 1
Examples
negative: -1.42077677317100524932506694166184882... positive: 1.025119111992429014846198575005783251...
Crossrefs
Cf. A197737.
Programs
-
Mathematica
a = 1; b = 1; c = 4; f[x_] := a*x^2 + b*x; g[x_] := c*Cos[x] Plot[{f[x], g[x]}, {x, -2, 1.5}] r1 = x /. FindRoot[f[x] == g[x], {x, -1.5, -1.4}, WorkingPrecision -> 110] RealDigits[r1] (* A197813 *) r2 = x /. FindRoot[f[x] == g[x], {x, 1, 1.1}, WorkingPrecision -> 110] RealDigits[r2] (* A197814 *)
Comments