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.

(650, 350) and (350, 650)

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

![14984|336x87](upload://arfs3K4y5qs0foyOqOjkGhTzJUv.jpeg)
r = 412.3106 pixels
r = 412.3106 (pixels)* 0.28 (mm / pixel) = 115.4470 mm
r = 115.4470 (mm) * 1/1000 (meter / mm) * 39.37 (inches / meter) r = 4.5451 (inches)
Radius is 4.55 inches (rounded to 2 places)

Computer Science & Information Technology

You might also like to view...

For the row that the trigger is processing, with a DELETE trigger, OLD contains the old values, and NEW contains the new values.

a. true b. false

Computer Science & Information Technology

Which of the following is an illegal use of function put?

a. cout.put( 'A' ); b. cout.put( "A" ); c. cout.put( 'A' ).put( '\n' ); d. cout.put( 65 );

Computer Science & Information Technology