# Maple Computing Numerical Integrals with Maple

Tags:
1. Apr 6, 2018

### WWCY

Hi all, I am new to the Maplesoft software and have been experiencing trouble computing numerical integrals.

I defined a few mathematical functions in terms of a few variables like so:

I then used "subs" to input values to anything that isn't already a defined constant (like $\hbar,\pi$ and all that) into my function Psisq.

I took the entire chunk of the resulting output and placed it into evalf( int( output, x=-infinity..infinity ) ) but all I got was the unevaluated integral rather than a number.

Could anyone assist or even suggest a better way? Many thanks in advance!

2. Apr 6, 2018

### Dr.D

Maybe you should start with something a little bit less complicated to learn how this all works.

3. Apr 8, 2018

### WWCY

Thanks

4. Apr 13, 2018

### scottdave

Maybe just evalf(output) without integration to make sure you only have 1 variable now.