In the following problems, compute the radius in inches of the following circles drawn on a computer screen. Two points, with coordinates measured in pixels, define each circle. The first point marks the center of the circle and the second marks a point on the circumference. The radius is the distance between the two points. Assume that a pixel is a dot with diameter of 0.28 millimeters.

(500, 500) and (100, 100)

Radius is distance between center (x1, y1) and point on the circumference (x2, Y2). Distance (r) can be found using the Pythagorean equation:

![14983|344x77](upload://c12PxP6CBBrJprhiSwJRmnMMFD4.jpeg)
r = 565.685 pixels
r = 565.685 (pixels) * 0.28 (mm / pixel) = 158.3919 mm
r = 158.3919 (mm) * 1/1000 (meter / mm) * 39.37 (inches / meter) r = 6.23588 (inches)
Radius is 6.24 inches (rounded to 2 places).

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. Any if-else-if statement can alternatively be coded as a nested if-else statement. 2. A series of deeply nested if-else statements is usually easier to follow than the logic of an if-else-if statement. 3. In order for an && expression to be true, only the expression on one side of the && operator needs to be true. 4. For an || expression to be true, the expression on the left side of the || operator must be false. 5. If the expression on the left side of the || operator is true, the expression on the right side is not checked.

Computer Science & Information Technology

The branch of computer science that studies computers in terms of their major functional units is ____.

a. Boolean logic b. functional abstraction c. organizational engineering d. computer organization

Computer Science & Information Technology