MathGroup Archive 2005

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

Search the Archive

Re: "teach" mathematica an integral

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54293] Re: "teach" mathematica an integral
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 16 Feb 2005 14:36:14 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <curp29$qvk$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

define:

g /: Integrate[g[x_], x_] := q[x]

and

Integrate[g[z], z]

gives

q[z]

since you hav not given the correct form fo the function you wish

to integrate, I can only advice to use the most general form of te 
integration, i.e.,

instead of the definition above

Unprotect[Integrate]
Integrate[a_.*g[x_] + c_., x_] /; FreeQ[a, x] := a q[x] + c
Protect[Integrate]

Regards

  Jens



"julia" <dbug at hotmail.de> schrieb im Newsbeitrag 
news:curp29$qvk$1 at smc.vnet.net...
> Hi group,
>
> I've had an integral (a laplace-transformation) which mathematica doesn't
> know.
> Now i have an analytic expression for the integral.
> Is there a possibility to add the new integral to mathematica (for example
> in any kind of library)?
> My problem is, that this integral is only a part of a longer formula for
> which i need the transformation...
>
> Thanks!
>
> 



  • Prev by Date: Re: Missing Graphics
  • Next by Date: Re: Re: Missing Graphics
  • Previous by thread: "teach" mathematica an integral
  • Next by thread: Re: "teach" mathematica an integral