Evaluate polynomial expression string – codegolf.stackexchange.com

Create a function which takes a polynomial equation, a value for x and returns the result of the operation. Example: given 4x^2+2x-5 and x=3 output 37. This is the result of 4(3)^2+2(3)-5 Assume all ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Evaluate polynomial expression string – codegolf.stackexchange.com"