Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Drew
Posts:
4
Registered:
1/25/05


Never mind
Posted:
Nov 5, 2004 12:07 AM


I figured out the problem with the midpoint on an unknown line segment issue and got it down to a much more manageable solution.
r = q / sqrt(m^2 + 1) s = r * m
x2 = x1  r y2 = y1  s x3 = x1 + r y3 = y1 + s
One division, two multiplies, and one costly sqrt(). High performance alternatives to sqrt() would still be appreciated, but the majority of the issues are worked out.
 submissions: post to k12.ed.math or email to k12math@k12groups.org private email to the k12.ed.math moderator: kemmoderator@k12groups.org newsgroup website: <a href="http://www.thinkspot.net/k12math/">http://www.thinkspot.net/k12math/</a> newsgroup charter: <a href="http://www.thinkspot.net/k12math/charter.html">http://www.thinkspot.net/k12math/charter.html</a>



