title: Find the smallest angle to include all points in a plane
body: <p>I would like to write a code in python that would solve for the smallest angle (θ) that would include all the points in a 2D plane given any number of points. The vertex of the angle is always centered at the origin (0,0). The points are defined using the Cartesian coordinate system with an (x,y) value. A figure below is shown for visualization. Any thoughts on how I should approach this problem? </p>
  
  <p><a href="https://i.stack.imgur.com/CNS2D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CNS2D.png" alt="Visualization"></a></p>