Skip to main content
3-Newcomer
March 13, 2025
Solved

Engineering Mechanics with Mathcad Prime

  • March 13, 2025
  • 2 replies
  • 938 views

I solved a statics problem with Mathcad Prime 10 like this:

fba1974_0-1741882141244.png

Can any member suggest an elegant method to do this?

Best answer by Werner_E

Looks fine for me, but for future questions please also attach your worksheet as well!

 

To address individual elements of a (column) vector you can omit the second (column) index - saves some typing.

As you use the unit vectors in your solve block throughout it may be more efficient to define r.AB, etc. as unit vectors right ahead rather than having divide these vectors every time you use them from anew by their magnitude.

Furthermore instead of accessing the individual elements of matrices and vectors manually and defining equations for them, its more efficient to use  matrix/vector arithmetic if ever possible.

That said one way to simplify your calculations could be this:

Werner_E_0-1741884466169.png

(Transpose operator is just used to save vertical space)

 

Of course you could solve the linear system directly without using a solve block by using the inverse matrix

Werner_E_1-1741884990515.png

or by using the "lsolve" function

Werner_E_2-1741885038985.png

 

 

Prime 10 sheet attached

2 replies

Werner_E25-Diamond IAnswer
25-Diamond I
March 13, 2025

Looks fine for me, but for future questions please also attach your worksheet as well!

 

To address individual elements of a (column) vector you can omit the second (column) index - saves some typing.

As you use the unit vectors in your solve block throughout it may be more efficient to define r.AB, etc. as unit vectors right ahead rather than having divide these vectors every time you use them from anew by their magnitude.

Furthermore instead of accessing the individual elements of matrices and vectors manually and defining equations for them, its more efficient to use  matrix/vector arithmetic if ever possible.

That said one way to simplify your calculations could be this:

Werner_E_0-1741884466169.png

(Transpose operator is just used to save vertical space)

 

Of course you could solve the linear system directly without using a solve block by using the inverse matrix

Werner_E_1-1741884990515.png

or by using the "lsolve" function

Werner_E_2-1741885038985.png

 

 

Prime 10 sheet attached

Community Moderator
April 20, 2025

Hi @fba1974,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag