Here is that section in blue text converted to HyperNext. The part inside the FOR loop would go in your sprite movement section of the Animation event script.
Just place the script in a button and it will plot the trajectory on a canvas. I used a 300x380 canvas.
Local angle,v,x,y,dx,dy,p,gravity
CanvasClear(1,50,50,50)
@ initial conditions
Put 10 into x
Put 330 into y
Put -80 into angle
Put 8 into v
Put 0.1 into gravity
@ convert degrees to radians
Divide angle by 180
Multiply angle by PiFN
@ Calc initial x and y
Put CosFN(angle) into dx
Multiply dx by v
Put SinFN(angle) into dy
Multiply dy by v
@ Plot trajectory
CanvasSetColor(1,255,255,255)
for p=1 to 200
@ x
Add dx to x
@ y
Add dy to y
Add gravity to dy
CanvasPlot(1,x,y)
endfor