how to calculate distance between two circles?
According to the distance formula, this is √(x−0)2+(y−0)2=√x2+y2. A point (x,y) is at a distance r from the origin if and only if √x2+y2=r, or, if we square both sides: x2+y2=r2. This is the equation of the circle of radius r centered at the origin.