Note this is using PYTHON. Please don’t write the code out, show me a screenshot
ID: 3592924 • Letter: N
Question
Note this is using PYTHON. Please don’t write the code out, show me a screenshot from python’s IDLE so I can see how you do the format to fully understand... thank you.7. Circle intersection. Write a program that computed the intersection of a circle with a horizontal 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 -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 it the x values of intersection. Add a decision to handle the program from doviding zero if the line is vertical. Formula: x = +/- square root of r^2-y^2 Note this is using PYTHON. Please don’t write the code out, show me a screenshot from python’s IDLE so I can see how you do the format to fully understand... thank you.
7. Circle intersection. Write a program that computed the intersection of a circle with a horizontal 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 -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 it the x values of intersection. Add a decision to handle the program from doviding zero if the line is vertical. Formula: x = +/- square root of r^2-y^2 Note this is using PYTHON. Please don’t write the code out, show me a screenshot from python’s IDLE so I can see how you do the format to fully understand... thank you.
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 -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 it the x values of intersection. Add a decision to handle the program from doviding zero if the line is vertical. Formula: x = +/- square root of r^2-y^2