On Mon, Jul 11, 2011 at 9:43 AM, robin hankin <hankin.ro...@gmail.com>wrote:

> Hi.
>
> When I type
>
> integrate(dirac_delta(x),x,-1,1)
>
>
> I expected to get 1, as the documentation clearly implies.
>
> But instead I get a symbolic answer.
>
> How do I make sage return 1?
>
>
>
>
> cheers
>
> Robin
>
>
> --
> Robin Hankin
> Uncertainty Analyst
> hankin.ro...@gmail.com
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>

You can use sympy as -

>>> import sympy
>>> sympy.integrate(sympy.DiracDelta(x), (x,-1,1))
1

Rajeev

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to