Re: Overlay graphs

*To*: mathgroup at smc.vnet.net*Subject*: [mg48974] Re: Overlay graphs*From*: Bill Rowe <readnewsciv at earthlink.net>*Date*: Fri, 25 Jun 2004 02:58:53 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

On 6/24/04 at 5:36 AM, J_o_s_e_f at hotmail.com (JosefG) wrote: >I would like for the graph to show Plot[Sin[x], {x,0,Pi/4}] lie on >top of Plot[Cos[x],{x,Pi/4,Pi/2}]. I am looking for intersection >points of some sine and cosine waves to be more specific. I have >tried to solve for the intersection points, but that doesn't seem >to work. Plot[{Sin[x], Cos[x]}, {x, 0, 2*Pi}, PlotStyle -> {Hue[0], Hue[0.6]}, Ticks -> {Range[0, 2*Pi, Pi/4], Automatic}]; Will give you the plot you seem to want. But I don't understand why you seem to be unable to solve for the intersection points Did you try In[1]:=Solve[Sin[x] == Cos[x], x] Out[1]={{x -> (-(1/4))*(3*Pi)}, {x -> Pi/4}} -- To reply via email subtract one hundred and four