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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Error using matrices in Mathcad Prime 3.1

SW-14
1-Newbie

Error using matrices in Mathcad Prime 3.1

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SW-14
1-Newbie
(To: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.

View solution in original post

2 REPLIES 2
SW-14
1-Newbie
(To: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.

The typical case of the vectorize operator

Vectorize.png

Top Tags