The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » k12.ed.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Never mind
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 4
Registered: 1/25/05
Never mind
Posted: Nov 5, 2004 12:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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 e-mail to
private e-mail to the k12.ed.math moderator:
newsgroup website: <a href=""></a>
newsgroup charter: <a href=""></a>

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.