I have to calculate an equation to translate coordinates in two different fields. With Geogebra I've come up whit this equations which I checked and is correct:
CodePudding user response:
The results that python is giving you are correct. What is wrong is your table with input and expected output.
I checked the results of: 0.0036 * xˆ7 - 0.1 * xˆ6 1.1 * xˆ5 - 6 * xˆ4 16.7583 * xˆ3 - 21.9 * xˆ2 11.1381 * x 6
in wolfram website: equation result link for P(x)=8 and is giving me the same results as your python test does.
I think you need to recalculate your output expectations.