Hi everyone!!

I have a polynomial equation such as this one
y = -0.001x
4
+ 0.018x
3
- 0.656x
2
+ 8.213x + 346 .

My first question is what would be the quickest and easiest way to draw this in processing?

Furthermore I have another polynomial equation that stars and ends at the same point as the one above, is it possible to connect them in processing since I would like to colour its inside.

Any help would be greatly appreciated!!! :)

1