Skip to main content
1-Visitor
Feb 4, 2015 7:15 AM UTC
Solved

PTC MathCAD not providing a matrix when trignometric function present

Hello,

I'm relatively new to PTC MathCAD, and i haven't found a lot of resources on line - so admittedly I’m struggling a little bit.

Below is an example of an issue I’m having with the software not returning a matrix. When I solve for σc, the answer is returned as a matrix. When I solve

for σ, it give me a single value. Based on my observations, it appears the software is choking when it encounters the “sec” function.

Both share the same matrix “a” values.

I’m wondering if anyone has any solutions for this… of if you can tell me what I’m doing wrong.

Matcad+issue.jpg

19-Tanzanite
Feb 4, 2015 8:31 AM UTC

When Mathcad multiplies two vectors together (which it does in both Kl and sigma) it produces a scalar. To prevent this, to get element by element multiplication, use the vectorization operator (The Operators menu, the V with an arrow over it in the Vector and Matrix section). Do this to both Kl and sigma.

Alan

2 replies

19-Tanzanite
Feb 4, 2015 8:31 AM UTC

When Mathcad multiplies two vectors together (which it does in both Kl and sigma) it produces a scalar. To prevent this, to get element by element multiplication, use the vectorization operator (The Operators menu, the V with an arrow over it in the Vector and Matrix section). Do this to both Kl and sigma.

Alan

Translate
1-Visitor
Feb 7, 2015 10:43 PM UTC

Thanks for your help.

I ended up having to apply the vectorization to the entire denominator.Answer.jpg

Translate