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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

mathcad adding two equations with one variable

HB_10330845
4-Participant

mathcad adding two equations with one variable

I checked this section for a similar question and could not locate one. It's simple one I'm guessing but I just cant figure it out.

 

Two equations: 3x^2 + 4x -7 and 5x^2-7x+3

 

(or whatever one variable equation).

 

How can I add them in mathcad so I get the answer 8x^2 -3x-4 ?

 

Thanks. Mr Noob....

1 ACCEPTED SOLUTION

Accepted Solutions
ttokoro
20-Turquoise
(To:HB_10330845)

7 REPLIES 7
ttokoro
20-Turquoise
(To:HB_10330845)

image.pngimage.pngimage.png

HB_10330845
4-Participant
(To:ttokoro)

Thanks for your Explanation.

What you show are not equations.

If your goal is just to do calculation using unknown variables not assigned a value, you have to use symbolic evaluation as ttokoro had shown.

You get the symbolic "equal sign" (the right arrow) either via the keyboard short (Ctrl and .) or via the menu: Math-Operators-Definition and Evaluation.

LucMeekes
23-Emerald III
(To:Werner_E)

"What you show are not equations."

But both Mathcad and Prime are happy to treat such expressions as equations, assuming that their evaluation result equals 0:

LucMeekes_0-1654863739281.png

LucMeekes_1-1654863747517.png

Success!
Luc


assuming that their evaluation result equals 0:

An assumption which is mathematically doubtful, but often convenient when working with Mathcad.

 

Adding two equations would mean to me to add

2x +3y  =8z

and

5x-4y=-3z

and get as a result

7x-y=5z

Thats something neither Mathcad nor Prime can do in a natural way.

It also would be beneficial to be able to do operations like "add 4y" to both sides of an equation or to be able to have access to the LHS or RHS of an equation, but unfortunately the symbolics is not capable enough to provide the necessary operators, functions and modifiers.

LucMeekes
23-Emerald III
(To:Werner_E)

Challenge accepted:

LucMeekes_0-1654869096024.png

or:

LucMeekes_1-1654869113182.png

Will (most probably) not work beyond Mathcad 11, let alone Prime.

 

Success!
Luc


@LucMeekes wrote:

Challenge accepted:

🙂

 


Will (most probably) not work beyond Mathcad 11, let alone Prime.

Correct!  "op" is unknown

Top Tags