View Single Post
  #5  
Old February 19th, 2004, 08:51 AM

Member 4148 Member 4148 is offline
Private
 
Join Date: Jun 2003
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Member 4148 is on a distinguished road
Default Re: OT - math question.

Quote:
Originally posted by narf poit chez BOOM:
say you had a point at the bottom of a sphere and then moved it to the right a random distance along the surface of the sphere. how would you calculate the height from the bottom?
if it is traveling in a straight line, it might as well be on the edge of a circle, as you are starting from the ultimate "south" position (nowhere to go but north)

you need your distance traveled - call that d
you need the radius of the sphere - call that r

now, set your graphin calculater into radian mode
then tell it to do the following equation

height from bottom = (sin((d/r) - pi/2) * r) + r

there are lots o variation on this equation

drop the +r to get the height above (+) or below (-) th center
__________________
<img src=http://www.danasoft.com/sig/ alt= - /]
Reply With Quote