Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

function [outputs] fit disks(inputs) Initialize required arrays/data uhile (stop

ID: 3747592 • Letter: F

Question

function [outputs] fit disks(inputs) Initialize required arrays/data uhile (stopping criterion) . Use randi() function to generate a circle with randon radius and randon coordinates (uithin the prescribed range) Check to see of the circle is acceptable: the center should be within the prescribed boundary (we have four boundar ies) and the cirelold not intersect all the existing circles . If circle is acceptable, then plot it (call drau circle function) and store the circle infornation (radius and centers) in arrays . If the circle is not acceptable, i.e. it is intersecting the boundary or intersecting other existing circles, then discard the circle. Check the stopping criterion and repeat the steps until stopping conditions are met. You have to decide on what are the stopping conditions end end

Explanation / Answer

As the prescribed area is not given the circle cannot be checked if its intersecting the other circles.