Discussion Overview
The discussion revolves around defining a function via numerical integration in Mathematica, particularly focusing on handling an integral with an arbitrary real parameter. Participants explore methods for plotting the function, storing results, and addressing issues related to oscillatory behavior in the integrand.
Discussion Character
- Technical explanation
- Exploratory
- Debate/contested
Main Points Raised
- One participant seeks assistance with plotting a function defined by an integral that includes a non-numerical parameter.
- Another participant suggests using a pattern in the function definition to ensure it only evaluates for numerical inputs.
- A participant expresses gratitude for the advice and inquires about storing the function to avoid recalculating it due to long computation times.
- There is a mention of a tutorial link for storing function values in Mathematica.
- A participant raises concerns about the limitations of storing values in RAM and seeks a method for permanent storage of results for further manipulation.
- Issues are noted regarding the accuracy of the numerical version of the integral, particularly its behavior at larger values of the variable.
- Another participant suggests using Save or DumpSave for permanent storage and recommends increasing precision settings for better results.
- One participant proposes tabulating the function values as a potential solution to the oscillatory nature of the integrand.
Areas of Agreement / Disagreement
Participants express varying opinions on the best methods for storing function values and addressing numerical integration challenges. No consensus is reached on the most effective approach to manage the oscillatory behavior of the integrand or the best storage solution.
Contextual Notes
Participants note issues with the accuracy of the numerical integration, particularly regarding the behavior of the function at different ranges and the handling of singularities in analytic expressions. There are also mentions of potential limitations in the numerical methods employed.
Who May Find This Useful
This discussion may be useful for Mathematica users dealing with numerical integration, particularly those working with functions defined by integrals that include non-numerical parameters or exhibit oscillatory behavior.