Well that equation isn't technically a curve, it's just three values, but if you mean how can you plot something like this:
y = 4x^2 + 2x^3 + 12
Then you might use something like this:
sync on
xscale# = 0.02
yscale# = 0.10
for x = 0 to screen width()
x# = (x-screen width()/2)*xscale#
y# = 4*x#^2.0 + 2.0*x#^3.0 + 12.0
y = screen height()/2-(y#/yscale#)
if x then line x-1, oy, x, y
oy = y
next x
line 0, screen height()/2, screen width(), screen height()/2
line screen width()/2, 0, screen width()/2, screen height()
sync : sync
wait key
[b]
