MathGroup Archive 2007

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

Search the Archive

Re: Solving periodic functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74966] Re: Solving periodic functions
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Fri, 13 Apr 2007 01:59:44 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <evkroh$o0k$1@smc.vnet.net>

David Rees wrote:
> This is probably totally elementary, but I'm stumped nonetheless.
> 
> Anyway, in Mathematica, how do I solve an equation with multiple periodic 
> functions within a given function domain bound?
> 
> i.e. How would I find all values of x given 6Cos[x]-5Cos[x] = 0 where 
> 0<x<=2Pi ?
> 
> thanks 

Hi David,

The built-in function *Reduce* [1] is your friend. For instance,

Reduce[6 Cos[x] - 5 Cos[x] == 0 && 0 < x <= 2 Pi, x]

      Pi         3 Pi
x == -- || x == ----
      2           2

Regards,
Jean-Marc

[1] http://documents.wolfram.com/mathematica/functions/Reduce


  • Prev by Date: RE: Variable containing code
  • Next by Date: Re: Solving periodic functions
  • Previous by thread: Re: Solving periodic functions
  • Next by thread: Re: Solving periodic functions