Originally Posted by

**Vibonacci** Question 2:

I need to draw a line with given info: coords point A, an angle (radian relative to pi) and length of line.

I think the solution lies using algebra on the Pythagorean theorem.

Example: What are coords of point B?

coords point A = (1,1)

angle = pi/4 (45 degrees) {Note that this may not be what I mean which is why I asked the first question)

length = sqrt(2) ~ 1,41

The answer should be (2,2) but the point is that I need to understand the algebra behind it so I can use it for more complex variables/parameters.