Define a multiple symbolic equation, solve it for one of the variables and plug in solve soln..
- September 25, 2018
- 1 reply
- 7717 views
Hello.
I'm sorry if this question is asked before, but I am having a hard time finding examples for something I expect to be basic function of Mathcad. (using Mathcad Prime 5).
I see many basic examples of defining, solving for symbols, but the examples are just one-line,one-variable solutions that just write a equation, solve in one line and stop there.
I'm trying to setup some equations with symbols only (variables not previously defined), then solve for one of the variables, then plug in this solved variable into other equations to solve.
Example, I'm trying to use the slope-deflection method to solve for reactions on a beam. If I predefine almost all the variables, then no problem... if I try to do this symbolically, it doesn't work.
For examples, let's say I do
a2(x) := 50mm + 450mm - x
Now I want to say b2 = 1000mm - a2 << a2 having the symbolic x & Mathcad does not like this.
...
Another example, I have defined
Mba (E, I, L1, Thetab) := 2 * E * I /L1 * (bla bla bla)
Mbc (E, I, L2, Thetab) := 2 * E * I /L2 * (bla bla bla)
Now I want to define Mba + Mbc = 0 and solve for Thethab... and I want to save this result as Thethab so I can plug it back into equations above... having trouble doing this.
However, if instead of doing Mba + Mbc = 0, I do
[2 * E * I /L1 * (bla bla bla)] + [2 * E * I /L2 * (bla bla bla)] = 0 ----> Solve Thethab, then Mathcad gives the solution solved for Thethab.... but I don't know how to plug this solution back into other equations without copy pasting the result Mathcad spit out.
Attached is a file of examples of what I am trying to accomplish. Thanks very much in advance.

