MathGroup Archive 2007

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

Search the Archive

Re: Solving periodic functions


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