hi every1 !!! i am making my own 2 axis cnc machine.....i am usin G00 command like we take an example

G00x03y05

so according to this statement our both motors (motor x and motor y ) will move simultaneously so that there will be a diagonal motion of the tool ..........and the angle of that diagonal path will depend on the speed of the motor x and motor y.if both motors will have same speed and same direction then the angle of diagonal path would be 45 degree bt if different then the angle would be other than 45 degree.

i wanna ask a question that what would be the relation(formula) between the speed of motor x and motor y and the angle of diagonal path.i need a general formula.

plz help me out!!