Given a rotated conic ð´ð‘¥^2 + ðµð‘¥ð‘¦ + ð¶ð‘¦^2 + ð·ð‘¥ + ð¸ð‘¦ + ð¹ = 0, write a function classifyconic(x) that will classify the given parameter x = [A, B, C, D, E, F] of a conic whether it is parabolic, elliptic, or hyperbolic. Recall from your analytic geometry class that a rotated conic is parabolic if its discriminant ð· = ðµ^2 − 4ð´ð¶ is zero, elliptic if the discriminant is less than zero, and hyperbolic if the discriminant is greater than 0. Based on your program, answer the following questions:
1. What type of conic is ð‘¥^2 − 3ð‘¥ð‘¦ − 2ð‘¦^2 + 8ð‘¥ + 6𑦠+ ð¹1 = 0?
2. How about ð‘¥^2 + 2ð‘¥ð‘¦ + ð‘¦^2 + 2ð‘¥ + 4𑦠+ ð¹2 = 0?
3. How about ð‘¥^2 + 3ð‘¥ð‘¦ + 4ð‘¦^2 + 3ð‘¥ + 5𑦠+ ð¹3 = 0?
Using GNU Octave