Angle of incidence and reflection

  • Thread starter Robben
  • Start date
  • #1
166
2

Main Question or Discussion Point

I am trying to write a java code where the user inputs the height at which a solid body approaches a sphere of radius R and outputs the angle ##\theta## at which the body bounces off the sphere.

I have all my code written is just that I don't know how to derive the equation that calculates the angle ##\theta##.

https://col127.mail.live.com/att/GetAttachment.aspx?tnail=0&messageId=fbddf598-ac28-11e4-b241-00215ad73f00&Aux=114%7c0%7c8D20E4CE497FAD0%7c%7c0%7c0%7c0%7c0%7c%7c%7c10%7cmahjk17%40hotmail.com&cid=3d6363fe08a85f18&maxwidth=220&maxheight=160&size=Att&blob=MHxTY3JlZW4uanBnfGltYWdlL2pwZWc_3d
 

Attachments

Last edited:

Answers and Replies

  • #2
Break down the velocity vector of the solid body into two components: one is tangential to the sphere, another one points to the centre of the sphere. Reverse the direction of the central component and add the two component together and you will have the bounce off velocity vector. The angle between incident and reflected angle is what you need. Divide it by two and you will have the answer. Does it help?
 
  • #3
166
2
Break down the velocity vector of the solid body into two components: one is tangential to the sphere, another one points to the centre of the sphere. Reverse the direction of the central component and add the two component together and you will have the bounce off velocity vector. The angle between incident and reflected angle is what you need. Divide it by two and you will have the answer. Does it help?
Hm, can you elaborate please?
 
  • #4
A.T.
Science Advisor
9,980
1,743
  • #5
166
2
Something wrong with your attachment.
I got it to work now.
 

Attachments

Last edited:
  • #6
1
0
can you post the code?
 

Related Threads on Angle of incidence and reflection

  • Last Post
Replies
9
Views
4K
Replies
4
Views
10K
  • Last Post
Replies
2
Views
866
Replies
6
Views
435
Replies
19
Views
6K
Replies
1
Views
4K
  • Last Post
Replies
4
Views
3K
Replies
2
Views
2K
Top