Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: plotting integrals
Replies: 4   Last Post: Sep 24, 2013 4:16 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Itai Seggev

Posts: 61
Registered: 7/29/13
Re: plotting integrals
Posted: Sep 21, 2013 4:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Fri, Sep 20, 2013 at 07:07:37AM -0400, Herman wrote:
> Dear All,
>
> I would like to plot the function Subscript[\[Eta], B] but I got errors.
> Could someone please help me with these errors?
>
>
> \[Psi][x_, \[Omega]_] := (\[Omega]/\[Pi])^(1/4)
> Exp[-1/2 \[Omega] x^2]
>
> \[Psi]1[x_, a_, n_] := Sqrt[(2 n)!!/((2 n - 1)!! \[Pi])] Cos [a*x]^n
>
> Subscript[F, TPT][x_, a_, n_] :=
> NIntegrate[\[Psi]1[x, a, n]*\[Psi][x,
> a*Sqrt[2 n (n - 1)]], {x, -\[Pi]/2, \[Pi]/2}]


This definition is self-contradictory. You are say that F_TPT depends on x,
but x is a dummy variable on the RHS.

> Subscript[\[Eta], B][x_, a_,
> n_] := Sqrt[(1 - Subscript[F, TPT][x, a, n])]
>
> Plot[Subscript[\[Eta], B][x, 1, 3], {x, -\[Pi]/2, \[Pi]/2}]
>

--
Itai Seggev
Mathematica Algorithms R&D
217-398-0700




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.