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

Re: Solving a Polynomial Equation

$
0
0

Mike Armstrong wrote:

 

I have been playing around using different methods to solve a polynomial equation and need the help of one of the 'symbolic guru's on here.

 

I have managed to solve the equation and evaluated numerically, but have the following queries:

 

  • Can I force the symbolic result to return only real values

Not in an easy and natural way ("assume" does not work for this). See attachment.

 

  • Is 'float' required to evaluate the symbolic expression numerically

I guess to evaluate the LambertW function numerically its a requirement. This function can only be evaluated symbolically and thats the reason you can't use the result of the symbolics directly in numeric evaluations without first symbolically evaluate it by using float and turning it that way into numeric results.

 

  • Is there a more elegant way to solve this equation.

Probably the symbolically evaluated solve block is the better solution. I am not sure why the numeric evaluation fails here.

1.png


Viewing all articles
Browse latest Browse all 11712

Trending Articles



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