Discussion Overview
The discussion revolves around using Mathematica to plot the function y=k-x/k for values of k in the range -10 to 10, while addressing the issue of k being undefined at 0. Participants explore different methods to avoid this singularity in their plots.
Discussion Character
- Technical explanation
- Mathematical reasoning
Main Points Raised
- One participant asks for help on how to plot the function while excluding k=0, suggesting a specific code snippet.
- Another participant shares an alternative approach by plotting the function for k values from 1 to 10, effectively avoiding k=0.
- A third participant proposes a method that splits the range of k into two parts, plotting separately for positive and negative values of k, and then combining the results.
- A later reply suggests a more efficient way to exclude k=0 using the Cases function in Mathematica.
Areas of Agreement / Disagreement
Participants present multiple approaches to the problem, indicating that there is no single agreed-upon method for plotting the function while avoiding k=0. The discussion remains unresolved regarding the best approach.
Contextual Notes
Some methods proposed rely on specific intervals and may not address all potential issues with the function's definition across the entire range of k. The effectiveness of each method may depend on the user's familiarity with Mathematica's syntax and functions.
Who May Find This Useful
This discussion may be useful for Mathematica users looking to plot functions with singularities or undefined points, particularly in the context of mathematical modeling or analysis.