Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Symbolic solution switches to built in constant

$
0
0

I've noticed this several times.  I have to assume it's a bug.

 

When using symbolics to solve for a variable, Prime 3.1 swaps out my defined variable with the built-in variable.  In this case, gamma (ratio of specific heats) is replaced with Euler's constant.  The good news is the color of the variable changes so I've at least got a clue it's happening.  But it shouldn't happen, right?  In this case it's unitless (or units cancel) so I didn't even get crazy units to point out a problem.  Is there a modifier to prevent this?

 

gamma.jpg

And it brings up another question, is there a way to turn off built-in constants?  (except for pi and e, ideally)  While I understand they are useful, on several occasions I've gotten 'wrong' answers because of a mixup.  (e.g. sigma = Stefan-Boltzman instead of stress).  Admittedly my fault but I'd rather get an error if I haven't defined 'h' rather than it jumping to Planck's constant.  When trying to advocate for Mathcad this is one of the little things that makes me question my choice; a new and uncautious user could easily get the wrong number.

 

Thanks,


Viewing all articles
Browse latest Browse all 2936

Latest Images

Trending Articles



Latest Images

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