Sección 3. Capítulo 4
single
Challenge: Ellipse Approximation
Desliza para mostrar el menú
Tarea
Desliza para comenzar a programar
Approximate an ellipse using a set of points and visualize the result using matplotlib.
- The function
approximate_ellipsemust return a list of(x, y)tuples representing points on an ellipse with semi-major axisa, semi-minor axisb, andnum_pointspoints evenly spaced by angle. - The function
plot_ellipsemust plot the provided list of points as a closed polygon using matplotlib.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 4
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla