cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Mathcad Prime 5.0: Error in Summation Expression

saadhere
10-Marble

Mathcad Prime 5.0: Error in Summation Expression

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

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Werner_E)

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

B.png

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:saadhere)

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?

 

 
Werner_E
25-Diamond I
(To:saadhere)


@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_E
25-Diamond I
(To:Werner_E)

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

B.png

Announcements

Top Tags