Mathematica issue with definite integrals

Click For Summary

Homework Help Overview

The discussion revolves around evaluating a definite integral using Mathematica, specifically involving an exponential function and parameters related to physics. The original poster is confused about the output provided by Mathematica, which includes a variable 'x' in the result.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand why the output of the integral includes 'x' and seeks clarification on the correct usage of Mathematica for definite integrals. Other participants suggest that the input format may be incorrect and provide alternative syntax for the integral.

Discussion Status

Participants are actively engaging with the original poster's question. One participant has provided a solution that resolved the original poster's issue, indicating that the discussion has led to a productive outcome without reaching a consensus on all aspects of the problem.

Contextual Notes

There is a mention of using Mathematica version 6.030, which may influence the syntax and functionality discussed. The original poster's confusion stems from the output format of the integral, highlighting the importance of correct input for definite integrals.

RTourn
Messages
2
Reaction score
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
 
Physics news on Phys.org
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
 
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}]
 
@qntty Thanks it worked!
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K