Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
No matter how much I try, Mathcad can't add these expressions because it thinks they have different units (but they don't)... I need to simply and add the different stresses together but I can't.
As you can see in the picture, the stress at "A", is not simplified. Because the stresses are not added together as the program thinks they have different unit.
he is undefined!!!
What are you talking about? Only he is undefined, and even then, the program should be able to add the numerical values together and just leave he as it is.
A is a constant or a function of h.e? since h.e is unknown, A must be necessarily a function of h.e, otherwise, the given definition isn't correct.
it is the function of he
@-MFra- is completely right.
he is undefined. Note (and look carefully) that you are using he (that is 'h sub e') in the definition of A, and in the definition of tau.dA. But in the definitions of J, tau.tAx and tau.tAy, you are using he (no 'sub'), and that is why Prime cannot combine what you think should be combined.
I would set it up like this:
Success!
Luc
(Oh, in the above I assumed that your magic value 0.7071 should be sqrt(1/2)...)
I keep preaching but few listen.
Mathcad (and especially, now, Prime 7) is a very poor symbolic engine!
It's still a good numeric solver. Attached is your file adjusted to be numeric. Are you looking for stress VS. h_e?
You might try playing to its strength
I'm trying to find the stress as a function of he. So the stress has to be some numerical value divided by he. in this case it will be 419.1/he
btw, I can't open it because I think the mathcad I have is the 2020 version. Can you just post a screenshot so I can see how you did it?
NOTE that the symbolic processor doesn't 'know' units. It usually treats them as undefined variables. You can set an option such that can better deal with units: Look under Calculation -> Calculation options.
Take heed of Fred's advice. And the following: If you want to work with symbolics, set up your equations and any solve(s) purely symbolic; best in the form of functions with parameters. That is: WITHOUT filling in any numbers.
Once you have the desired symbolic outcome (in the form of a function), you can fill in the (numerical values of) the parameters to obtain a numeric answer.
So instead of:
you do:
Success!
Luc