Skip to main content
1-Visitor
November 1, 2017
Solved

Pattern match exception problem

  • November 1, 2017
  • 1 reply
  • 9648 views

Hi

I`m trying to make simple calculation but without success. What`s the problem?

PatternMatchException.PNG

MC15 file is attached for convenience.

Thanks in advance.

Best answer by LucMeekes

Or use this alternative definition of it:

LM_20171101_symbolic3.png

(The symbolic processor is not so fond of programming constructs, it likes pure mathematical expressions better.)

 

Success!
Luc

1 reply

23-Emerald IV
November 1, 2017

I get this in Mathcad 11.

LM_20171101_symbolic.png

(The error messages are the same for all red evaluations).

Apparently it's not 'simple'.

 

Success!
Luc

 

ifomenko1-VisitorAuthor
1-Visitor
November 1, 2017

Problem is in delta function, if you change it by 1 for example everything is OK.

If you change double sum by two summing loops inside program block everything is OK too!See attached file

23-Emerald IV
November 1, 2017

Then don't use the delta function, but use (i=j) instead:

LM_20171101_symbolic2.png

Success!
Luc