Skip to main content
1-Visitor
August 20, 2019
Solved

Mathcad Prime 5.0: Error in Summation Expression

  • August 20, 2019
  • 1 reply
  • 2522 views

Hello PTC Community,

I need help with an error that I am getting while solving a summation expression.

Please refer to the attached image to see the error. Any help would be appreciated.

 

 

Thanks

Best answer by Werner_E

You may also use Mathcads linear interpolation function and then use normal integration:

B.png

1 reply

25-Diamond I
August 20, 2019

For the future - please always attach the worksheet itself, not just a picture.

The ex-product (cross product x) is defined for vectors with three dimensions only.

The red encircled expression does not evaluate as such but is a 5-dimensional vector (because of u), while the second part is just a scalar.

What do you have in mind with a cross product of a five element vector with a scalar? What should that be?

What is it really you are looking for? Guess you did not meant to use a cross product, right?

 

25-Diamond I
August 20, 2019

@saadhere wrote:

i am trying to write this expression in mathcad prime. (please see the attached pic)


u in the picture is a function (obviously defined elsewhere), taking r as argument.

And the cross "x" seems to just denote a simple normal multiplication of scalars ("*").

What the picture shows is just basic numeric integration (trapezoid rule).

If you vector u holds the appropriate function values, you have to replace u(r[i) in the picture for u[i, etc. And the cross "x" is replaced  by a "*". Then it should work OK.

 

 

Werner_E25-Diamond IAnswer
25-Diamond I
August 20, 2019

You may also use Mathcads linear interpolation function and then use normal integration:

B.png