Skip to main content
15-Moonstone
July 6, 2026
Solved

Not less than the origin

  • July 6, 2026
  • 3 replies
  • 114 views

Hi There , 

I always face this error and I don’t know how to solve this . I need to find the difference between 2 levels in  same z which has 4 rows like it do the same calculation for each row separately  

Than I have to find the average and minimum value for this results 

 

I attached simpler mathcad in zip file 

Best answer by LucMeekes

Hi Yusra,

 

See if this works:

Success!
Luc

3 replies

23-Emerald IV
July 6, 2026

Hi Yusra,

Your array z has only 4 elements. The j-values in the ‘For j element of….’ j can run between 0 and 2000+, due to whatever the match-es find. Inside the For-loop you try to access z[j (3 times). Shouldn't you be using (z[i)[j ?

Ah. And in your simple example you show that your array q.c;z is also a nested array. So you'll have to do a similar addressing there.

Success!
Luc

15-Moonstone
July 7, 2026

Unfortunately it freezes .. it seems it will work but Mathcad stops responding 

 

LucMeekes23-Emerald IVAnswer
23-Emerald IV
July 7, 2026

Hi Yusra,

 

See if this works:

Success!
Luc

15-Moonstone
July 10, 2026

Amazing thanks for the answer