Using the screen resolution, you find the ratio of width to height:
$$\frac{w}{d} = \frac{1024}{768} \implies w = \frac{1024d}{768}.$$
Then, using the pythagorean theorem, you have
$$w^2+d^2 = 100^2.$$
Using the ratio derived above, we have
$$w^2+d^2 = \left(\frac{1024}{768}\right)^2d^2+d^2 = 100^2,$$
or $$\left[\left(\frac{1024}{768}\right)^2+1\right]d^2 = 10000.$$
Solving, we find $d^2 = 3600 \implies d = 60 \textrm{in}$. Then, $w = \frac{1024}{768}\cdot 60 \textrm{in} = 80 \textrm{in}.$
From this, we conclude that each pixel is $\frac{80}{1024} \textrm{in}$ wide by $\frac{60}{768} \textrm{in}$ tall. The distance between centers of pixels can then be computed as multiples of these heights and widths, using the Pythagorean theorem again.
For instance, the distance between the lower left pixel located at (1,1) and the pixel located at (10,20) is
$$\begin{align}
w &= (20-1)\cdot\frac{80}{1024} \\
h &= (10-1)\cdot\frac{60}{768} \\
d &= \sqrt{w^2+h^2}\\
&= \sqrt{\left(19\cdot\frac{80}{1024}\right)^2+\left(9\cdot\frac{60}{768}\right)^2} \\
&\approx 1.64 \textrm{in}
\end{align}$$