How to call a built function in mathematica
- Context: Undergrad
- Thread starter Reem Hashem
- Start date
-
- Tags
- Function Mathematica
Click For Summary
Discussion Overview
The discussion revolves around how to properly call a user-defined function in Mathematica, specifically in the context of using it with the FindRoot function. Participants explore issues related to function definition, usage of parameters, and troubleshooting errors in the code.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant expresses difficulty in calling their defined function within another function in Mathematica.
- Another participant suggests simplifying the code to identify errors more easily.
- A participant shares a complex function definition using NDSolve and provides an example of its output.
- There is a request for guidance on how to use the defined function with FindRoot, indicating that the initial attempt did not work.
- A participant emphasizes the importance of understanding the use of underscores in function definitions and provides a link to Mathematica documentation.
- Suggestions are made to plot the function to understand its behavior better, and there are indications that attempts to use FindRoot have encountered issues that remain unresolved.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the best approach to resolve the issues with the function calls, and multiple viewpoints on troubleshooting and usage remain present.
Contextual Notes
There are unresolved issues regarding the specific errors encountered when using FindRoot, and the discussion includes various assumptions about function definitions and parameter usage that may not be fully clarified.
Similar threads
- · Replies 1 ·
- · Replies 2 ·
- · Replies 5 ·
- · Replies 1 ·
Mathematica
Mathematica Interpolation function error
- · Replies 4 ·
- · Replies 5 ·
Undergrad
Best fit to an oscillating function
- · Replies 9 ·
- · Replies 1 ·
- · Replies 6 ·
- · Replies 9 ·