Practical 5 : - Tracing of Conics in
Cartesian Coordinates :
Plot@y •. Solve@Hx • 5L ^ 2 + Hy • 3L ^ 2 Š 1D, 8x, - 5, 5<D
3
-4 -2 2 4
-1
-2
-3
Plot@y •. Solve@y ^ 2 - 8 x - 6 y - 23 Š 0D, 8x, - 5, 5<D
10
-4 -2 2 4
-5
2 481conics 26 sept.nb
ContourPlot@Hx • 5L ^ 2 + Hy • 3L ^ 2 Š 1, 8x, - 5, 5<,
8y, - 3, 3<, AspectRatio ® Automatic, AxesLabel ® AutomaticD
y
3
0 x
-1
-2
-3
-4 -2 0 2 4
Plot@y •. Solve@153 Hx ^ 2L - 192 x * y + 97 Hy ^ 2L - 30 x - 40 y - 200 Š 0D,
8x, - 5, 5<, PlotStyle ® GreenD
-4 -2 2 4
-1
sols = y •. Solve@Hx • 5L ^ 2 + Hy • 3L ^ 2 Š 1, yD;
Plot@sols, 8x, - 5, 5<, PlotStyle ® PinkD
3
-4 -2 2 4
-1
-2
-3
481conics 26 sept.nb 3
ContourPlot@Hx ^ 2L + 4 x * y - 2 Hy ^ 2L - 6 Š 0, 8X, - 5, 5<,
8Y, - 5, 5<, AspectRatio ® Automatic, AxesLabel ® AutomaticD
Y
0 X
-2
-4
-4 -2 0 2 4