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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Translate the entire conversation x

Engineering Mechanics with Mathcad Prime

fba1974
3-Newcomer

Engineering Mechanics with Mathcad Prime

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?

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:fba1974)

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

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:fba1974)

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

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 

Announcements

Top Tags