MathGroup Archive 2007

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

Search the Archive

Re: Integration in a range of value

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78527] Re: Integration in a range of value
  • From: chuck009 <dmilioto at comcast.com>
  • Date: Tue, 3 Jul 2007 05:42:40 -0400 (EDT)

Here's two examples.  The second case just uses a pure function and some short-hand notation.

f[tval_] := NIntegrate[Cos[theta - tval], {theta, 0, Pi}]
Plot[f[t], {t, 0, Pi}]

Plot[(NIntegrate[Cos[theta - #], {theta, 0, Pi}]) &[tval], {tval, 0, Pi}]


  • Prev by Date: Version 6 code for Manger Sponge????
  • Next by Date: Looking for tutorial on creating nice notebooks
  • Previous by thread: Re: Integration in a range of value
  • Next by thread: Re: Integration in a range of value