Clarification [Re: Overlay graphs ]
- To: mathgroup at smc.vnet.net
- Subject: [mg48991] Clarification [Re: Overlay graphs ]
- From: J_o_s_e_f at hotmail.com (JosefG)
- Date: Fri, 25 Jun 2004 17:52:40 -0400 (EDT)
- References: <cbgkq9$cnk$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I would like to superimpose Cos[x] {x,Pi/4,Pi/2} right on top of
Sin[x] {x,0,Pi/4}. I think the x axis would only be a length of Pi/4
and it would show both Cos[x] {x,Pi/4,Pi/2} and Sin[x] {x,0,Pi/4}.
I would also wanted to superimpose Cos[x] {x,Pi/4,Pi/2} on top of
Cos[x] {x,0,Pi/4}. Using the methods most people have been giving me I
would get Cos[x]{x,0,Pi/2}. I would like to put the 2 plots on top of
each other.
Thank you all for your patience and time with me,
Josef
Bill Rowe <readnewsciv at earthlink.net> wrote in message news:<cbgkq9$cnk$1 at smc.vnet.net>...
> 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}}