Re: Solving periodic functions

*To*: mathgroup at smc.vnet.net*Subject*: [mg75004] Re: [mg74935] Solving periodic functions*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Fri, 13 Apr 2007 02:19:23 -0400 (EDT)*Reply-to*: hanlonr at cox.net

Needs["Graphics`"]; Plot[6Cos[x]-5Cos[x],{x,0,2Pi},Ticks->{PiScale,Automatic}]; {Reduce[{6Cos[x]-5Cos[x]==0,0<x<=2Pi},x]//ToRules} {{x -> Pi/2}, {x -> (3*Pi)/2}} Bob Hanlon ---- David Rees <w3bdevilREMOVE at THISw3bdevil.com> 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