Aryabhata's half chord

Drag the red points to draw the graph!