Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15476

plotting integrals

From Herman <btta2010@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject plotting integrals
Date 2013-09-20 10:52 +0000
Message-ID <l1h9ea$t6f$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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

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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

plotting integrals Herman <btta2010@gmail.com> - 2013-09-20 10:52 +0000
  Re: plotting integrals "Dr. Wolfgang Hintze" <weh@snafu.de> - 2013-09-21 08:24 +0000

csiph-web