[22] in mathematical software users group

home help back first fref pref prev next nref lref last post

Re: Integrals involving abs and signum

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Mar 26 07:37:15 1992

Date: Thu, 26 Mar 92 07:36:09 -0500
From: hibrown@cs.albany.edu (Herbert I Brown)
To: chen@deakin.OZ.AU, msug@MIT.EDU, tga@cs.cs.appstate.edu

	Date: Thu, 26 Mar 1992 12:13:04 +1000
	From: chen@deakin.OZ.AU
	To: msug@MIT.EDU, tga@cs.cs.appstate.edu
	Subject: Re:  Integrals involving abs and signum

	In my previous mail, the integration specifies the symbolic integration.
	please use symbolic integration rather than numeric integration. Please 
        try

	inte(abs(x^3), x from -c to c)
	inte(sgn(x)*x^3, x from -c to c)

OK. Let's use c (under the assumption that c > 0) in lieu of 2:

>  int(sin(x)*x^3,x = -c..c);

         12*cos(c)*c - 12*sin(c) - 2*cos(c)*c^3 + 6*sin(c)*c^2

>  int(-x^3, x = -c .. 0) + int( x^3, x = 0..c);

                       (c^4)/2

Herb


----------------------------------------------------------------------------
Herb Brown  Math Dept  The Univ at Albany  Albany, NY 12222  (518) 442-4640
hibrown@sarah.albany.edu or hibrown@thor.albany.edu or hibrown@bst.albany.edu
----------------------------------------------------------------------------

home help back first fref pref prev next nref lref last post