Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Greetings community,
Is it possible to define the output from the solve function as a new variable?
Have a nice day,
Jorge
Yes, just use the : as normal to assign the value / result.
Example is for an Ode, but the same will apply for any solve block.
Mathcad 15:
Prime (2):
Because Prime handles the units a little better I was experimenting with this program to learn about prime - still not convinced...
Hope this helps
Andy
In case you had the symbolic "solve" in mind, the same as Andy already said applies - simply use the assignment operator := in front. In case of the system of equations example below you must know that the symbolics returns a row vector (while the numeric solve block "find" would return a column vector) and of course you have to be sure that only one solution exists and so the result vector will have one row only.
The screenshot is of Mathcad 15 but it works the same way in Prime, too.