Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Approximation of complex solutions

  • To: mathgroup at
  • Subject: [mg37428] Re: [mg37422] Approximation of complex solutions
  • From: BobHanlon at
  • Date: Mon, 28 Oct 2002 03:40:53 -0500 (EST)
  • Sender: owner-wri-mathgroup at

In a message dated 10/27/2002 7:53:03 AM, not at writes:

>I would like to have mathematica attempt to find complex solutions to the
>cos(cos(cos(cos x))) = sin(sin(sin(sin x)))
>It always tells me the variables appear to be related in a non-algebraic
>way.  Is there a way to have it approximate these solutions?


f[x_] := Cos[Cos[Cos[Cos[x]]]] - Sin[Sin[Sin[Sin[x]]]];

Off[General::ovfl, General::unfl, 
    FindRoot::frnum, FindRoot::cvnwt];

      Table[{x, Conjugate[x]} /. 
          FindRoot[f[x], {x, xr + I*xi},
            WorkingPrecision -> 25],
        {xr, -Pi/2, Pi/2, Pi/16},
        {xi, Pi/16, Pi/2, Pi/16}]],
    Abs[f[#]] < 10^-15 &],
  SameTest -> (Abs[#1 - #2] < 10^-12 &)]

Bob Hanlon

  • Prev by Date: Serial Mathematica 4.x EUROPE !!!
  • Next by Date: RE: Approximation of complex solutions
  • Previous by thread: Approximation of complex solutions
  • Next by thread: RE: Approximation of complex solutions