In the following problems, compute the distance in millimeters between the following (x, y) screen coordinates measured in pixels. Assume that a pixel is a dot with diameter of 0.28 mm.

In the problems below, pixels are considered circles packed in a square matrix. Therefore, the diagonal distance does not represent the number of pixels along its length, but rather the number of pixels that distance covers along the horizontal or vertical. Strictly speaking, is
best to convert pixels into millimeters before the diagonal is computed. However, it is simpler to do the conversion to millimeters after the diagonal is computed, as done below. The final result is the same either way.

(100, 100) and (200, 200)


Distance (d) can be found using the Pythagorean equation:
![14982|282x75](upload://jKrjrZuQTDPFgW6hnLkkxGKpbZp.jpeg)
d = 141.4214 pixels
d = 141.4214 (pixels) * 0.28 (mm / pixel) = 39.5980 mm
Distance between coordinates is 39.60 mm (rounded to 2 places).

Computer Science & Information Technology

You might also like to view...

A special program known as a(n) ____________ is used to translate an assembly language program into a machine language program.

a. interpreter b. assembler c. translator d. code conversion tool

Computer Science & Information Technology

Which of the following terms is defined as ruler settings that work together with the [Tab] key to allow you to position text at specific horizontal locations within a text box or table cell?

A. stop tabs B. stopper tabs C. tab stops D. tab stoppers

Computer Science & Information Technology

An algorithm is ____ if no work is done in the algorithm after a recursive call.

A. complex B. iterative C. infinite D. tail-recursive

Computer Science & Information Technology

In a mail merge, the letter, or ____, is usually created in Word.

A. merged document B. field document C. data source D. main document

Computer Science & Information Technology