4. Consider the following procedure. drawCircle(xPos, yPos, rad) Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad The drawCircle procedure is to be used to draw the following figure on a coordinate grid. Which of the following options would correctly draw the figure? (Select 2 answers) 7. 6- 4- 3- 2- A. x+4 O B. X+ 4 y+ 1 y-1 REPEAT 3 TIMES REPEAT 3 TIMES drawCircle(x, y, r) rer+1 yy + 1 drawCircle(x, y, r) rer+1 y+y+1 C. x+4 O D. x - 4 y- 4 y- 4 r-3 r-3 REPEAT 3 TIMES REPEAT 3 TIMES drawCircle(x, y, r) yy-1 yy-1 rer-1 rer-1 drawCircle(x, y, r)

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
icon
Concept explainers
Question
4 of 14
4. Consider the following procedure.
drawCircle(xPos, yPos, rad)
Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad
The drawCircle procedure is to be used to draw the following figure on a coordinate grid. Which of the following options would correctly
draw the figure? (Select 2 answers)
8-
7-
6-
4-
3
A. x+ 4
O B. X + 4
y+ 1
y + 1
r+0
REPEAT 3 TIMES
REPEAT 3 TIMES
{
drawCircle(x, y, r)
rer+1
y y + 1
drawCircle(x, y, r)
r+r+1
y+ y + 1
O C. x+4
D. x + 4
y+ 4
y- 4
r+ 3
r-3
REPEAT 3 TIMES
REPEAT 3 TIMES
drawCircle(x, y, r)
yy- 1
r+r-1
y-y-1
r+r-1
drawCircle(x, y, r)
Scroll down to see more
Powered by Linklt!
Transcribed Image Text:4 of 14 4. Consider the following procedure. drawCircle(xPos, yPos, rad) Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad The drawCircle procedure is to be used to draw the following figure on a coordinate grid. Which of the following options would correctly draw the figure? (Select 2 answers) 8- 7- 6- 4- 3 A. x+ 4 O B. X + 4 y+ 1 y + 1 r+0 REPEAT 3 TIMES REPEAT 3 TIMES { drawCircle(x, y, r) rer+1 y y + 1 drawCircle(x, y, r) r+r+1 y+ y + 1 O C. x+4 D. x + 4 y+ 4 y- 4 r+ 3 r-3 REPEAT 3 TIMES REPEAT 3 TIMES drawCircle(x, y, r) yy- 1 r+r-1 y-y-1 r+r-1 drawCircle(x, y, r) Scroll down to see more Powered by Linklt!
Expert Solution
Step 1

To find : correct options to draw the figure given below 

Advanced Math homework question answer, step 1, image 1

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Knowledge Booster
Points, Lines and Planes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,