Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
Solved! Go to Solution.
You may also use Mathcads linear interpolation function and then use normal integration:
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 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: