Radius of A Circle inside a Sphere

PAR
Messages
30
Reaction score
0

Homework Statement



Say you have a sphere of radius r centered at the origin, and a vector v <r,0,0>.

Let v' be the vector v rotated about the y-axis by angle theta.

What is the shortest distance between the end of the vector and the z-axis?

Homework Equations


The Attempt at a Solution



I drew a picture:

[PLAIN]http://img253.imageshack.us/img253/9459/circleinsphere.png

Obviously the shortest distance would be the line normal to the z-axis that would complete a right triangle with the y-axis and the vector v'. The distance is also equal to the radius of a circle, which I drew on the picture.

Because of this, I believe the answer is r*cos(theta), however I am not sure, and I need to know this for a programming assignment. Thank You!
 
Last edited by a moderator:
Physics news on Phys.org
Hi PAR! :wink:

Yes, rcosθ. :smile:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
9K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
6
Views
3K