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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

How to input an equation into a vector in MathCad?

IJ_11844237
2-Explorer

How to input an equation into a vector in MathCad?

Hey,
I want to solve the system in the first file symbolically, so that it leaves p in the answer as a parameter (the phi1(p), phi2(p), etc are unimportant and can be renamed x,y, z). I'm not quite sure how to do that; I googled around a bit and the closest solution I found was in the "Symbolic solving" section of this link: https://www.mathcad.com/en/blogs/solving-systems-equations-mathcad

I included the picture from that section which explains well what I need to do - basically, create a vector of equations.

I tried to implement this, but I can't figure out how to actually type an equation into a vector. Whenever I try to type an = or := sign, it takes me out of the vector. I tried copy-pasting, too, to no avail. Any ideas on how to do this? Thanks)

3 REPLIES 3
LucMeekes
23-Emerald III
(To:IJ_11844237)

= is an evaluation operator

:= is a definition operator

You probably need the 'equals'. operator. That is a bold =. You get it by typing [Ctl =].

 

Success!

Luc

LucMeekes
23-Emerald III
(To:IJ_11844237)

Here is one way to solve it.

LucMeekes_1-1725470491901.png

Note that I've used only integers, to prevent symbolic results with floating point results with superfluous digits. It also has the advantage of getting an exact result (since floating point numbers often aren't exact...).

You can assign the result to a function and extract the separate functions from it:

LucMeekes_2-1725470748941.png

Success!
Luc

Hi @IJ_11844237,

 

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.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 

Announcements

Top Tags