MathGroup Archive 2001

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

Search the Archive

Re: Dumb question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27802] Re: Dumb question
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Sat, 17 Mar 2001 05:41:28 -0500 (EST)
  • References: <98neji$8g@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Gustavo,

    P = (Sin[a-x]*t/(a-x))^2;
Please note the syntax.

    t=1;
    a = Pi/2;

    Plot[P,{x,0,Pi}, AxesOrigin->{0,0}]

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Gustavo Seabra" <gseabra at swbell.net> wrote in message
news:98neji$8g at smc.vnet.net...
> Hello. I know this may be a dumb question, and I apologize for doing that.
> But I am new to Mathematica, and I'm having a little trouble with this. I
> want to plot the equation:
>
> P=[sin(a-x)*t/(a-x)]^2
>
> with fixed t (say, 1) and fixed a (say, Pi/2), with x varying from 0 to
Pi.
> I know there is a discontinuity at x=a. Is there a way to plot this? I
mean,
> P(x) versus x?
>
> Thanks,
> --
> -----------------------------------------------------------------
> Gustavo Seabra - Graduate Student
> Chemistry Department
> Kansas State University
> -----------------------------------------------------------------
>
>




  • Prev by Date: Re: Simple integration that Mathematica can't do?
  • Next by Date: Re: Dumb question
  • Previous by thread: Re: Dumb question
  • Next by thread: Re: Dumb question