1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Mathematica issue with definite integrals

  1. Apr 12, 2009 #1
    1. The problem statement, all variables and given/known data

    I'm trying to evaluate the problem below but the Mathematica gives me is in terms of x. Can someone please help me solve this thing.

    2. Relevant equations

    Integrate[((2*A)(E^(-d*((m*x^2)/h) ) ) )^2,x,{x,0,Infinity} ]

    3. The attempt at a solution

    The solution Mathematica gives me is (a^2 Sqrt[2 \[Pi]] x)/Sqrt[(d m)/h]
    Why is there an "x" in the solution at all?
    I'm using Mathematica 6.030
    1. The problem statement, all variables and given/known data

    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
  3. Apr 12, 2009 #2
    u want to solving a definite integral where x varies from 0 to infinity...

    i think the function for definite integration is DIntegrate. integrate just gives u indefinite integration
  4. Apr 12, 2009 #3
    This is how the input should look. Putting an x after the expression tells it to antidifferentiate.

    Code (Text):

    Integrate[((2*A)(E^(-d*((m*x^2)/h) ) ) )^2,{x,0,Infinity}]
  5. Apr 13, 2009 #4
    @qntty Thanks it worked!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook