Re: Overlay graphs
- To: mathgroup at smc.vnet.net
- Subject: [mg48967] Re: Overlay graphs
- From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
- Date: Fri, 25 Jun 2004 02:58:41 -0400 (EDT)
- References: <cau1ru$alc$1@smc.vnet.net> <cbe8lm$rmb$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
If you want to solve for the intersection points then do this: Reduce[Sin[x] == Cos[x], x] which gives the result: C[1] \[Element] Integers && (x == -2*ArcTan[1 + Sqrt[2]] + 2*Pi*C[1] || x == -2*ArcTan[1 - Sqrt[2]] + 2*Pi*C[1]) Steve Luttrell "JosefG" <J_o_s_e_f at hotmail.com> wrote in message news:cbe8lm$rmb$1 at smc.vnet.net... > Thanks for your help, but that's not quite what I need. 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. > > Thank you again, > > Josef > > > J_o_s_e_f at hotmail.com (JosefG) wrote in message news:<cau1ru$alc$1 at smc.vnet.net>... > > I was wondering how to overlay graphs in Mathmatica. I need to > > overlay: Plot[Sin{(x)},{x,0,Pi/4}] and > > Plot[{Cos(x)},{x,Pi/4,Pi/2}]. I don't know how to do it. A phase shift > > doesn't work because I need the data from the original points. > > > > Thanks alot, > > > > Josef >