@Zemel-Yang
2016-11-20T13:36:17.000000Z
字数 1823
阅读 1267
python homework
In this exercise, we will discuss a ball's motion in different types of table. Circular stadium, square table, square table with a circular interior wall located in the center and slightly off-center are included.
The famous Alhazen problem has to do with a circular billiard and there are two versions of the problem. The first case is to find at the edge of the circular billiard two points B, C such that a billiard ball moving from a given point A inside the circle of the billiard after reflection at B, C passes through the point A again (see Figure 1A). It is obvious that if O is the center of the circle and the points O, A, B, C are collinear then the problem is trivial.
The second case is, given two fixed points A and B inside the circle, to find a point P on the edge of the circular billiard such that the ball moving from A after one reflection at P will pass from B (see Figure 1B). It is obvious again that if the points A, B and O are on a diameter of the circle then the problem is trivial.
We can see billiard competition on TV. There are some incredible scene on the movie. Maybe they are good at geometry┑( ̄Д  ̄)┍


Here I use Vpython simulate the motion of ball in square table and elliptical table.


Debdyuti Banerjee and Nikolaos Dergiades, Debdyuti Banerjee and
Nikolaos Dergiades,Forum Geometricorum Volume 12 (2012) 193–196.
Chen Feng, Exercise_10: Chapter 3 problem 3.31: Billiard ball on diverse table