So, I hope this still classifies as coding, not math... Oh well, aren't they same anyway ;) So, my problem is this: I would want to calculate coordinates of a point on line.
For example, if I had point A(0, 0) and point B(5, -3), I'd like to calculate coordinates of point C, witch is 2 (can also be something else than 2) from A and on the line AB. I hope you realized what I mean.
I know how to calculate distance between A and B, but locating C.. I literally don't know where to start. And even less on how to implement int in java. Some help for newbie?