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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Mathcad Prime 5.0: Error in Summation Expression

saadhere
5-Regular Member

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

B.png

View solution in original post

4 REPLIES 4

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?

 

saadhere
5-Regular Member
(To:Werner_E)

 


@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.

 

 

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

B.png

Top Tags