here is a 5 sec triganometry tutorial if you havent a clue:
you can find all the features of a right angled triangle if you have either 1 angle and the lenght of 1 side, the lengths of 2 sides using cosine, sine and tangent.
[img]C:\WINDOWS\Desktop\triangle.jpg[/img]
use these formulas:
sin(a)=y/h
cos(a)=x/h
tan(a)=y/x
asin(y/h)=a
acos(x/h)=a
atan(y/x)=a
these commands can be used in db using the sin(),asin(),etc commands.
these are useful for finding the amount to move along the x and y axis in programming (also the z axis in db). If you inagine that the line 'h' is the distance you want to move and a is the angle you want to move at then you can find how far you want to move using cosine and sine (lines 'x' and 'y').
Hope I helped
Yum! Yum! Yum! Yum!