Professional Documents
Culture Documents
wxm 1 / 20
1 x²+y²=1
x= cos(t) , y= sin(t)
(%i1) wxplot2d([parametric,cos(t),sin(t),[t,0,2·%pi]],[x,−2,2],[y,−2,2],[yx_ratio,1]);
(%t1)
(%o1)
(%i2) wxplot2d([[parametric,2·cos(t),sin(t)·3,[t,0,2·%pi]],
[parametric,3·cos(t),sin(t)·2,[t,0,2·%pi]]],[x,−5,5],[y,−5,5],
[yx_ratio,1],[legend,"I st Curve","II nd curve"]);
(%t2)
(%o2)
3 x²/9-y²/4=1
x= sec(t) , y= tan(t)
Prac 3 Akshat Mittal.wxm 3 / 20
(%i3) wxplot2d([parametric,3·sec(t),2·tan(t),[t,−4,4]],[x,−10,10],[y,−10,10]);
plot2d: some values were clipped.
(%t3)
(%o3)
(%i4) wxplot2d([[parametric,2·t·t,4·t,[t,−5,5]],[parametric,−2·t·t,4·t,[t,−5,5]],
[parametric,4·t,2·t·t,[t,−5,5]],[parametric,4·t,−2·t·t,[t,−5,5]]],
[yx_ratio,1],[x,−10,10],[y,−10,10],[legend,"I st Curve",
"II nd curve","III rd curve","IV th curve"]);
plot2d: some values were clipped.
plot2d: some values were clipped.
plot2d: some values were clipped.
plot2d: some values were clipped.
(%t4)
(%o4)
5 9y²=x+9
x= 9t , y=√(t+1)
Prac 3 Akshat Mittal.wxm 5 / 20
(%i5) wxplot2d([[parametric,9·t,(t+1)^0.5,[t,−5,5]],[parametric,9·t,−(t+1)^0.5,[t,−5,5]]],[x,−10,10],[y,−2,2]);
plot2d: expression evaluates to non-numeric value somewhere in plotting range.
plot2d: some values were clipped.
plot2d: expression evaluates to non-numeric value somewhere in plotting range.
plot2d: some values were clipped.
(%t5)
(%o5)
6 16y²-9x²=144
x= 4tan(t) , y=3sec(t)
Prac 3 Akshat Mittal.wxm 6 / 20
(%i6) wxplot2d([parametric,4·tan(t),3·sec(t),[t,−4,4]],[x,−50,50],[y,−50,50]);
plot2d: some values were clipped.
(%t6)
(%o6)
7 x²+y²=e^[-2(tan^(-1))(y/x)]
For lower Half: x= e^(-t)cos(t) , y= -e^(-t)sin(t)
For upper Half: x= -e^(-t)cos(t) , y= e^(-t)sin(t)
Prac 3 Akshat Mittal.wxm 7 / 20
(%i7) wxplot2d([[parametric,(%e^(−t))·sin(t),−(%e^(−t))·cos(t),[t,0,2·%pi]],
[parametric,−(%e^(−t))·sin(t),(%e^(−t))·cos(t),[t,0,2·%pi]]],[x,−1.5,1.5],[y,−1.5,1.5]);
(%t7)
(%o7)
8 Trocoid
x=at-bsin(t)
y=a-bcos(t)
(%i8) wxplot2d([parametric,3·t−3·sin(t),3−3·cos(t),[t,−10,10]],[y,−10,10]);
(%t8)
(%o8)
(%i9) wxplot2d([parametric,5·t−3·sin(t),5−3·cos(t),[t,−10,10]],[y,−10,10]);
(%t9)
(%o9)
(%i10) wxplot2d([parametric,3·t−5·sin(t),3−5·cos(t),[t,−10,10]],[y,−10,10]);
(%t10)
(%o10)
9 Epicycloid
x=(a+b)cos(t)-bcos((a+b)/b)(t)
y=(a+b)sin(t)-bsin((a+b)/b)(t)
(%i11) wxplot2d([parametric,6·cos(t)−3·cos(2·t),6·sin(t)−3·sin(2·t),[t,−10,10]],[x,−10,10],[y,−10,10]);
(%t11)
(%o11)
(%i12) wxplot2d([parametric,6·cos(t)−2·cos(3·t),6·sin(t)−2·sin(3·t),[t,−10,10]],[x,−10,10],[y,−10,10]);
(%t12)
(%o12)
(%i13) wxplot2d([parametric,6·cos(t)−4·cos((3·t)/2),6·sin(t)−4·sin((3·t)/2),[t,−10,10]],[x,−15,15],[y,−10,10]);
(%t13)
(%o13)
10 Hypocycloid
x=(a-b)cos(t)+bcos((a-b)/b)(t)
y=(a-b)sin(t)-bsin((a-b)/b)(t)
(%i14) wxplot2d([parametric,2·cos(t)+2·cos(2·t/2),2·sin(t)−2·sin(2·t/2),[t,−5,5]]);
(%t14)
(%o14)
(%i15) wxplot2d([parametric,4·cos(t)+2·cos(2·t),4·sin(t)−2·sin(2·t),[t,−5,5]]);
(%t15)
(%o15)
(%i16) wxplot2d([parametric,6·cos(t)+2·cos(3·t),6·sin(t)−2·sin(3·t),[t,−5,5]]);
(%t16)
(%o16)
11 Hyperbola
let equation for Hyperbola be⇒ x²/9-y²/4=1
According to Standard notation⇒ a=3 and b=2 ,c =√13
Asymptotes⇒ y=± 2x/3
Prac 3 Akshat Mittal.wxm 14 / 20
(%i17) wxplot2d([[parametric,3·sec(t),2·tan(t),[t,−10,10]],[parametric,3·t/2,t,[t,−10,10]],
[parametric,3·t/2,−t,[t,−10,10]],[parametric,(13)^0.5·cos(t),(13)^0.5·sin(t),[t,−10,10]],
[parametric,t,2,[t,−3,3]],[parametric,t,−2,[t,−3,3]],[parametric,3,t,[t,−2,2]],
[parametric,−3,t,[t,−2,2]]],[x,−7,7],[y,−7,7],[yx_ratio,1],[legend,false]);
plot2d: some values were clipped.
plot2d: some values were clipped.
plot2d: some values were clipped.
(%t17)
(%o17)
Practice Questions
1 x=tcos(t), y=tsin(t)
Prac 3 Akshat Mittal.wxm 15 / 20
(%i18) wxplot2d([parametric,t·cos(t),t·sin(t),
[t,−2·%pi,2·%pi]],[x,−2·%pi,2·%pi],
[title,"x=tcos(t), y=tsin(t)"]);
(%t18)
(%o18)
2 x=t³/(1+t²),y=2t²/(1+t²)
(%i19) wxplot2d([parametric,t^3/(1+t^2),
2·t^2/(1+t^2),[t,−4·%pi,4·%pi]],[title,"x=t³/(1+t²),y=2t²/(1+t²)"]);
(%t19)
(%o19)
Prac 3 Akshat Mittal.wxm 16 / 20
3 x=2t-3,y=6t-7
(%i20) wxplot2d([parametric,(2·t)−3,(6·t)−7,[t,−20,20]]);
(%t20)
(%o20)
4 x=31cos(t)-7cos(31/7)t,
y=31sin(t)-7sin(31/7)t,
(0≤t≤14π)
Prac 3 Akshat Mittal.wxm 17 / 20
(%i21) wxplot2d([parametric,31·cos(t)−
7·cos((31/7)·t),31·sin(t)−7·sin((31/7)·t),[t,0,14·%pi]]);
(%t21)
(%o21)
5 x=17cos(t)+7cos((17/7)t),
y=17şin(t)-7sin((17/7)t),
(0≤t≤14π)
Prac 3 Akshat Mittal.wxm 18 / 20
(%i22) wxplot2d([parametric,17·cos(t)+
7·cos((17/7)·t),17·sin(t)−7·sin((17/7)·t),[t,0,14·%pi]]);
(%t22)
(%o22)
6 x=cos(t)+(1/2)cos(7t)+(1/3)sin(17t),
y=sin(t)+(1/2)sin(7t)+(1/3)cos(17t),
(0≤t≤2π)
Prac 3 Akshat Mittal.wxm 19 / 20
(%i23) wxplot2d([parametric,cos(t)+0.5·cos(7·t)+(1/3)·sin(17·t),
sin(t)+0.5·sin(7·t)+(1/3)·cos(17·t),[t,0,2·%pi]]);
(%t23)
(%o23)
7 x=[2+cos(5t/2)]cos(t),
y=[2+cos(5t/2)]sin(t)
(%i24) wxplot2d([parametric,
(2+cos((5·t)/2))·cos(t),(2+cos((5·t)/2))·sin(t),[t,−2·%pi,2·%pi]]);
(%t24)
(%o24)
Prac 3 Akshat Mittal.wxm 20 / 20
8 Butterfly Curve
(%i25) wxplot2d([parametric,cos(t)·(exp(cos(t))−2·cos(4·t)+sin(t/4)^3),
sin(t)·(exp(cos(t))−2·cos(4·t)+sin(t/4)^3),[t,0,4·%pi]],[title,"Butterfly Curve"]);
(%t25)
(%o25)