Discussion Overview
The discussion revolves around defining the derivative of a function as a new function in Maxima, a computer algebra system. Participants explore issues related to syntax, evaluation of derivatives, and error messages encountered while attempting to implement these definitions.
Discussion Character
- Technical explanation
- Debate/contested
- Homework-related
Main Points Raised
- One participant attempts to define a function and its derivative but encounters an error when trying to evaluate the derivative at a specific point.
- Another participant suggests that the issue arises because the right-hand side of the derivative definition does not evaluate until the definition is used, leading to errors when called with numerical values.
- A proposed solution involves localizing the derivative variable and substituting in the value, although this may lead to inefficiencies.
- An alternative solution is offered using a different syntax that avoids the need for re-evaluation of the derivative each time it is called.
- Some participants express uncertainty about the commonality of Maxima and share experiences with other software packages.
- Links to external resources, such as mailing lists and forums, are provided for further assistance.
Areas of Agreement / Disagreement
Participants generally agree on the nature of the errors encountered and the need for proper syntax in defining derivatives, but there is no consensus on the best approach to resolve these issues, as multiple solutions are proposed.
Contextual Notes
Participants note that the evaluation of derivatives in Maxima can lead to errors if not handled correctly, and there are limitations in the software's handling of certain expressions when numerical values are involved.
Who May Find This Useful
This discussion may be useful for users of Maxima or those interested in computer algebra systems, particularly in the context of defining and working with derivatives in programming environments.