Skip to main content
20-Turquoise
May 22, 2017
Solved

Creating a program function ? (III)

  • May 22, 2017
  • 2 replies
  • 1741 views

   Hello Evevyone,

( I ).PNG

   The Question : Create a program function MarkMaxElement(   )  ?

       Thanks in advance for your time and help.

             Best Regards.

Best answer by Werner_E

H, A, P and Y are the letters we see twice in the whole matrix and no letter appears more than two times. So these four letters qualify for being the max elements in the whole matrix (ex aequo). See also here -> Creating a program function ? (II)

But I like Freds contribution and would second it - WHY?

@Loi Le

If you have a special application where a routine like this is needed, you may tell us which.

If you just want to learn programming in Mathcad, it would be better to give it a try yourself and come back here with your attempt if you experience any problems.

2 replies

23-Emerald I
May 22, 2017

Why?

23-Emerald IV
May 22, 2017

Unclear.

Assuming that the (xxx) elements are 'marked', what is the criterion for "H", "A" and "P"s to marked (in the first row), and why aren't "S"and "D" not marked in the last row?

Luc

Werner_E25-Diamond IAnswer
25-Diamond I
May 22, 2017

H, A, P and Y are the letters we see twice in the whole matrix and no letter appears more than two times. So these four letters qualify for being the max elements in the whole matrix (ex aequo). See also here -> Creating a program function ? (II)

But I like Freds contribution and would second it - WHY?

@Loi Le

If you have a special application where a routine like this is needed, you may tell us which.

If you just want to learn programming in Mathcad, it would be better to give it a try yourself and come back here with your attempt if you experience any problems.