My task is to write an equation to determine the location of a moving point on a sphere given its starting location and velocity and the amount of time that has passed since the point was at the starting location. The sphere may have any radius but its center is always at the origin (0,0,0). There is no gravity and no friction - velocity is constant.
Known variables:
radius of sphere - r
starting location - init_x, init_y, init_z
velocity - speed_x, speed_y, speed_z (in units/second)
time passed - t (in seconds)
Unknown variables:
ending location - final_x, final_y, final_z
I am doing this as a part of a personal experiment for a computer science class. It has been a few years since I took calculus, trigonometry, or geometry, but I should still be able to understand the answer.
Thank you for any help with this.
Known variables:
radius of sphere - r
starting location - init_x, init_y, init_z
velocity - speed_x, speed_y, speed_z (in units/second)
time passed - t (in seconds)
Unknown variables:
ending location - final_x, final_y, final_z
I am doing this as a part of a personal experiment for a computer science class. It has been a few years since I took calculus, trigonometry, or geometry, but I should still be able to understand the answer.
Thank you for any help with this.