- #1
songoku
- 2,367
- 348
- Homework Statement
- Please see below
- Relevant Equations
- ##(x-a)^2+(y-b)^2=r^2##
Distance between 2 points
Distance between point (-4, 5) and point on circle:
$$d=\sqrt{(x+4)^2+(y-5)^2}$$
$$=\sqrt{x^2+8x+16+y^2-10y+25}$$
Then substitute ##y^2## from equation of circle:
$$d=\sqrt{x^2+8x+16-x^2+4x-6y+12-10y+25}$$
$$=\sqrt{12x-16y+53}$$
After this, I need to try the points one by one to check whether the distance is an integer and also whether the point is located on the circle? I am pretty sure there should be a more sane method to do this
Thanks