Question: 7. Circle Intersection. Write a program that computes the intersection of a circle with a hori- zontal line and displays the information textually and graphically
7. Circle Intersection. Write a program that computes the intersection of a circle with a hori- zontal line and displays the information textually and graphically Input: Radius of the circle and the y-intercept of the line. Output: Draw a circle centered at (0,0) with the given radius in a window with coordinates running from -10,-10 to 10,10. Draw a horizontal line across the window with the given y-intercept. Draw the two points of intersection in red. Print out the r values of the points of inter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
