John D. Cook 7/6/2026

Reproducing a geometry theorem diagram

Read Original

This article discusses reproducing a geometry theorem diagram where segment AB is a diameter and line CD is perpendicular to it. The author uses Python with numpy and matplotlib to draw the diagram, including a blue circle inscribed in a triangle and green and orange circles inscribed in a three-sided figure with two perpendicular sides and a circular arc. The code sets up quadratic equations to find the radii of the circles. The theorem, from Leon Bankoff (1964), states the diameter of the blue circle equals the sum of the radii of the green and orange circles. The article provides the full Python script for recreating the diagram.

Reproducing a geometry theorem diagram

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet