Mathematica issue with definite integrals

  • #1
2
0

Homework Statement



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.

Homework Equations



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

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
 
  • #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
 
  • #3
This is how the input should look. Putting an x after the expression tells it to antidifferentiate.

Code:
Integrate[((2*A)(E^(-d*((m*x^2)/h) ) ) )^2,{x,0,Infinity}]
 
  • #4
@qntty Thanks it worked!
 

Suggested for: Mathematica issue with definite integrals

Replies
9
Views
2K
Replies
3
Views
365
Replies
11
Views
588
Replies
4
Views
348
Replies
12
Views
236
Replies
14
Views
189
Replies
18
Views
550
Replies
16
Views
568
Replies
2
Views
652
Back
Top