Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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}}


  • Prev by Date: Re: Simple expression won't simplify
  • Next by Date: Re: Overlay graphs
  • Previous by thread: RE: options Transpose[] ?
  • Next by thread: RE: Clarification [Re: Overlay graphs ]