Ok, Im trying to create a smart way of solving this. I have a point on a line lets say (3,2) and it cross's thru the origin (0,0). So that means the distance from 0,0 to 3,2 is 3.6055~. What is the point on the same line when the distance is 5.40825~ (Increase of 50%). This function will be used in a program. Note: All my lines will ALWAYS cross thru the origin.
I searched all over for this but cant find an answer. A way I solved this was created a loop that used the equation of the line and looped thru it increasing or decreasing the X till its distance was greater or equal to what I desired. There has to be a simple (or semi complex) way of properly solving this. Thank you for your time.
2006-11-06
21:16:57
·
3 answers
·
asked by
coder_rick
1
in
Science & Mathematics
➔ Mathematics