Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hello Experts,
What does Argument outside of solution interval error means and how to overcome this one? Also within Odesolve when there is no variable used for range variable still the plot can be plotted using the equation function. How to find out what does k subsides in this worksheet
Solved! Go to Solution.
See my remarks in the attached file
According plotting without a range: As long as you are not using units you may use Mathcads so called Quickplot feature where a plot of a function can be done without specifying a variable (range) for the abscissa values. Mathcad then chooses the number of values used for the plot as it think its needed and by default covers the range from -10 to 10 (you can override this by explicitly type in different end values in the placeholders of the plot axis.
But you may have more control if you define a range to be used for the abscissa values.
See my remarks in the attached file
According plotting without a range: As long as you are not using units you may use Mathcads so called Quickplot feature where a plot of a function can be done without specifying a variable (range) for the abscissa values. Mathcad then chooses the number of values used for the plot as it think its needed and by default covers the range from -10 to 10 (you can override this by explicitly type in different end values in the placeholders of the plot axis.
But you may have more control if you define a range to be used for the abscissa values.
Thank you for the information but I did not understand Where did the “(k)” come from in the OdeSolver example where X_gf(k) works for the plot but could not find any “k” range variable also what type of quantity is the OdeSolver result since the column vector of results contains items that are not variables, not vectors and not range variables. Could you please help
The odesolver does not return a vector of values but what it returns is a function (which it internally creates by interpolating the values of a calculated vector).
So you can use these functions with whatever named argument you like. It has not to be "k".