Discussion Overview
The discussion revolves around using Mathematica to obtain numerical values from the cosine function, specifically in the context of finding maximum values using the FindMaximum function. Participants explore coding issues, syntax errors, and the behavior of different Mathematica functions in this context.
Discussion Character
- Homework-related
- Technical explanation
- Debate/contested
Main Points Raised
- One participant seeks a method to obtain a numerical value from Cos[t] after using FindMaximum, indicating that Evaluate does not work for their needs.
- Another participant suggests that missing commas in the code may be causing issues and recommends using the Evaluate[] function.
- A different participant questions the necessity of a loop for the command to evaluate Cos[t] numerically and seeks clarification on how to implement this.
- One participant mentions a concern about the density function and its maximum values occurring at different times, suggesting that the initial time interval used may be too short.
- Another participant notes that Maximize[] does not find the greatest maximum but only the first maximum, implying a limitation in its use.
- A participant recommends using NMaximize[] instead, acknowledging that it may occasionally yield incorrect solutions, but generally finds it reliable.
Areas of Agreement / Disagreement
Participants express differing views on the effectiveness of various Mathematica functions for finding maximum values, with no consensus on the best approach. Some participants agree on the need for proper syntax, while others debate the limitations of the functions discussed.
Contextual Notes
Participants mention specific coding issues, such as missing commas and the need for line breaks in output, which may affect the clarity and functionality of their scripts. There is also a recognition of the potential for numerical functions to yield incorrect results under certain conditions.