Translation : Math eqns into Actionscript

x = a (-t² + 40t +1200) sin(pit/180)
y = a (-ti² + 40t +1200) cos(pi
t/180)

Can any one translates these equations into AS ? I take this eqn from http://www.mathematische-basteleien.de/heart.htm . Its basically the equation to create a heart shaped curve.