login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A199958 Decimal expansion of greatest x satisfying x^2 + 2*cos(x) = 4*sin(x). 3

%I #10 Jun 22 2018 23:24:24

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

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

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

%N Decimal expansion of greatest x satisfying x^2 + 2*cos(x) = 4*sin(x).

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

%H G. C. Greubel, <a href="/A199958/b199958.txt">Table of n, a(n) for n = 1..10000</a>

%e least x: 0.525416279282353649071522053392...

%e greatest x: 2.1115948673130941666464133109...

%t a = 1; b = 2; c = 4;

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

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

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

%t RealDigits[r] (* A199957 *)

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

%t RealDigits[r] (* A199958 *)

%o (PARI) a=1; b=2; c=4; solve(x=0, 1, a*x^2 + b*cos(x) - c*sin(x)) \\ _G. C. Greubel_, Jun 22 2018

%Y Cf. A199949.

%K nonn,cons

%O 1,1

%A _Clark Kimberling_, Nov 12 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)