Complex results when integrating real functions.

When integrating I get complex numbers when I shouldn’t. The complex numbers are in the digital output (4000) that I want to input to another operation without the complex numbers. How do I delete the.

luke

You are probably seeing this while doing numerical integration.

The Chop function is normally used in these cases to remove the imaginary value:

http://reference.wolfram.com/mathematica/ref/Chop.html