Ask Your Question

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

asked 2016-11-17 20:34:19 -0600

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 06:59:47 -0600

ndomes gravatar image

updated 2016-11-18 07:04:39 -0600

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 16:23:02 -0600 )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-17 20:34:19 -0600

Seen: 1,416 times

Last updated: Nov 18 '16