Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello Everyone.
From :
"This array index is invalid for this array." ?. How to make a correction ?
Thanks in advance.
Regards.
Solved! Go to Solution.
@lvl107 wrote:
Neither do I. (see "x.cos(x) - sin(x) = 0 solve , x ?" 's post).
Regards.
This "zeros" is not a built-in Mathcad function; it's probably a user defined function in the sheet you're referencing. (Many long-time users have hidden regions of utility functions at the top of their template sheets.)
The sequence I showed (defining only the last element) will create an array or matrix full of zeros of that size and does not require a utility function.
I don't recognize the function "zeros".
Try this:
Neither do I. (see "x.cos(x) - sin(x) = 0 solve , x ?" 's post).
Regards.
@lvl107 wrote:
Neither do I. (see "x.cos(x) - sin(x) = 0 solve , x ?" 's post).
Regards.
This "zeros" is not a built-in Mathcad function; it's probably a user defined function in the sheet you're referencing. (Many long-time users have hidden regions of utility functions at the top of their template sheets.)
The sequence I showed (defining only the last element) will create an array or matrix full of zeros of that size and does not require a utility function.
I'm very sorry, Fred. I made wrong typing in the program function.
See https://community.ptc.com/t5/PTC-Mathcad/x-cos-x-sin-x-0-solve-x/m-p/577974#M182991
Best Regards.