Skip to main content
15-Moonstone
Jul 6, 2026 7:40 AM UTC
Solved

Not less than the origin

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 

LucMeekesAnswer
23-Emerald V
Jul 7, 2026 8:41 PM UTC

Hi Yusra,

 

See if this works:

Success!
Luc

6 replies

23-Emerald V
Jul 6, 2026 5:47 PM UTC

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

Translate
15-Moonstone
Jul 7, 2026 6:00 AM UTC

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

 

Translate
LucMeekes23-Emerald VAnswer
23-Emerald V
Jul 7, 2026 8:41 PM UTC

Hi Yusra,

 

See if this works:

Success!
Luc

Translate
15-Moonstone
Jul 10, 2026 6:59 PM UTC

Amazing thanks for the answer

Translate