Re: Solving periodic functions

*To*: mathgroup at smc.vnet.net*Subject*: [mg74999] Re: Solving periodic functions*From*: Bill Rowe <readnewsciv at sbcglobal.net>*Date*: Fri, 13 Apr 2007 02:16:47 -0400 (EDT)

On 4/12/07 at 4:46 AM, w3bdevilREMOVE at THISw3bdevil.com (David Rees) wrote: >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 ? A very convenient way to accomplish this is with the RootSearch package Ted Ersek wrote that can be found at <http://library.wolfram.com/infocenter/MathSource/4482/> =46or example after loading the package In[2]:= RootSearch[6*Cos[x] - 5*Sin[x] == 0, {x, 0, 2*Pi}] Out[2]= {{x->0.876058},{x->4.01765}} -- To reply via email subtract one hundred and four