Skip to main content
1-Visitor
September 19, 2017
Solved

Error using matrices in Mathcad Prime 3.1

  • September 19, 2017
  • 1 reply
  • 2103 views

I'm trying to compute the stress in a thick walled cylinder using a matrix that has two pressure values stored in it. When my supervisor and I were going over the calculations, we noticed that one form of our von Mises stress formula will give the correct answers, while another equivalent form of the exact same formula will give erroneus values. However, when I set the pressure variable to just one of the values that are included in the matrix, it computes it correctly. Is this a bug with Mathcad, or am I doing something wrong?

Best answer by SW-14

Nevermind, I figured it out. Had to use the "vectorize" operator to get them to multiply the elements of the matrix rather than doing matrix multiplication.

1 reply

SW-141-VisitorAuthorAnswer
1-Visitor
September 19, 2017

Nevermind, I figured it out. Had to use the "vectorize" operator to get them to multiply the elements of the matrix rather than doing matrix multiplication.

24-Ruby IV
September 19, 2017

The typical case of the vectorize operator

Vectorize.png