MathGroup Archive 2001

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

Search the Archive

NIntegrate and Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30408] NIntegrate and Plot
  • From: Yasvir Avindra Tesiram <y.tesiram at pgrad.unimelb.edu.au>
  • Date: Fri, 17 Aug 2001 03:09:49 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Mathgroup,
I would like to plot the integral of,

(Sech[betaN * x^n])^2 ,

where beatN=121.643 and n=2 say. I have started by making a table of x
values as

np=100;
x1 = Table[(-0.5 + ((i -1)/(np-1)), {i,1,np}];
x2 = t1^n;
x3 = (Sech[betaN * x^n])^2;

I have tried NIntegrate but of course that just returns the total area of
x3.

Any help would be much appreciated.

Yas



  • Prev by Date: Substitutions[rookie]
  • Next by Date: How to do a simple loop?
  • Previous by thread: Substitutions[rookie]
  • Next by thread: Re: NIntegrate and Plot