A simple program to classify a conic and gather some information about it given its general equation form ax2 + bxy + cy2 + dx + ey + f with a, b, and c not all equal to zero.
Instantiating a Conic object will do all the calculations required and printing it will display its information table.
Attribute | Description | |
---|---|---|
name | Conic classification | |
center | tuple |
Center coordinates in the initial equation |
inf |
Infinite centers | |
None |
No center | |
angle | Angle used in the rotation | |
equations | [0] |
Initial equation |
[1] |
Equation after translation | |
[2] |
Equation after rotation |