Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12488

Re: problem with the solving function

$
0
0

Mathcad's symbolics doesn't know anything about units and treats them as unknown variables. m and mm are two different variables as seem by the symbolics and so they are not cancelled/simplified.

 

Solution is to assign the symbolic calculation to a variable and let this variable evaluate numerically.

1.png

 

Or you can also use an inline evalution if you just want to check the variabe kn and do not intend to use it later.

2.png

 

If you only want a numeric solution, you could also do without any symbolics and use a solve block

3.png

or the root() function

3b.png

 

If, on the other hand, you used the symbolic solve on purpose and you had expected a general symbolic result, you would have to clear all variables in use for symbolics evaluation. Your posting is missing the information what kind of result you have expected, you simply wrote that you didn't like what you got:

4.png

or follow it with a numeric inline evaluation

4b.png


Viewing all articles
Browse latest Browse all 12488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>