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 » Math Topics » geometry.pre-college

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

Topic: calculate equidistant points
Replies: 3   Last Post: Mar 9, 2007 6:09 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 9
From: miami
Registered: 3/8/07
calculate equidistant points
Posted: Mar 8, 2007 7:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

say i have two points a and b in 3-d space, and their distance is less than or equal to a constant d. i want to find a third point that's exactly d distance away from both a and b. i want to pick one of the possible points at random, using a function that returns a random real between 2 reals. also, i want the result to be within a certain box, so if a and b happen to be close to a side of the box then the possible solutions have to be restricted, i'd imagine by calculating a special max and min as the reals for the random number function. i tried doing this myself (sans the box part), and it didn't seem to work.

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.