Skip to main content
20-Turquoise
October 26, 2018
Solved

"This array index is invalid for this array." ?

  • October 26, 2018
  • 1 reply
  • 2043 views

Hello Everyone.

From :

1.PNG2.PNG"This array index is invalid for this array." ?. How to make a correction ?

    Thanks in advance.

         Regards.

Best answer by Fred_Kohlhepp

@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.

1 reply

23-Emerald I
October 26, 2018

I don't recognize the function "zeros".

 

Try this:Capture.PNG

lvl10720-TurquoiseAuthor
20-Turquoise
October 26, 2018

Neither do I. (see "x.cos(x) - sin(x) = 0 solve , x ?" 's post). 

    Regards.

 

23-Emerald I
October 26, 2018

@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.