Ask Your Question

why I can not get a numerical answer by show(integral(x^x,x,1,2))

asked 2016-11-18 03:34:19 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-18 13:59:47 +0200

ndomes gravatar image

updated 2016-11-18 14:04:39 +0200

You can use numerical_integral instead of integral


or explicitly order a numerical answer

edit flag offensive delete link more


Equivalently, feed the whole expression to $N$

sage: N(integral(x^x,x,1,2)) #2.0504462345347307

Also, the same syntax $N$ exists in SymPy and the equivalent of $f.n()$ in SymPy is $f.evalf()$

A.Alharbi gravatar imageA.Alharbi ( 2016-11-20 23:23:02 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-11-18 03:34:19 +0200

Seen: 2,433 times

Last updated: Nov 18 '16