100% found this document useful (1 vote)
638 views19 pages

20 Famous Curves Using Maxima: 1 Astroid

20 Famous curves drawn on a maxima file to obtain a clearer understanding of the graphs. The code to obtain the plot is given along the graphs

Uploaded by

Sneha KB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
638 views19 pages

20 Famous Curves Using Maxima: 1 Astroid

20 Famous curves drawn on a maxima file to obtain a clearer understanding of the graphs. The code to obtain the plot is given along the graphs

Uploaded by

Sneha KB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

assignment_17.09.2019.

wxmx 1 / 19

20 Famous curves using maxima


1 ASTROID

1.1 Cartesian Equation:


x^2/3 + y^2/3 = a^2/3
Parametric Equations:
x(t) = a cos3t
y(t) = a sin3t

--> wxdraw2d(user_preamble="set zeroaxis linetype 10;set xtics axis;set ytics axis",title="ASTROID",


color=dark-violet,
nticks=2000,
line_width=3,
key="x^(2/3)+y^(2/3)=4",
implicit(x^(2/3)+y^(2/3)=4,x,-15,15,y,-10,10)
)$

(%t2)

2 CARDIOID

2.1 Cartesian Equation:


(x^2+y^2-2*a*x)^2=4a^2(x^2+y^2)
Polar Equation:
r = 2a(1 + cos θ)
Parametric Equations:
x(t) = a(2 cost − cos(2t))
y(t) = a(2 sin t − sin(2t))
assignment_17.09.2019.wxmx 2 / 19

--> a:1$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1000;set xtics axis;set ytics axis;",
nticks=1000,
title="CARDIOID",
color=dark-pink,
xrange=[-4,4],
yrange=[-4,4],
key="(x^2+y^2-2*a*x)^2=4*a^2*(x^2+y^2)",
implicit((x^2+y^2-2*a*x)^2=4*a^2*(x^2+y^2),x,-5,5,y,-5,5))$

(%t19)

3 CATENARY

3.1 Cartesian Equation:


y = a cosh(x/a)
y=(e^x+e^-x)/2
assignment_17.09.2019.wxmx 3 / 19

--> g(x):=(%e^x+(%e^-x))/2;
wxdraw2d(grid=true,
user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",title="CATENARY",
color=dark-violet,
nticks=2000,
line_width=3,
key="((%e^x+%e^-x)/2",
explicit(g(x),x,-10,10),
xrange=[-15,15],yrange=[-10,10]
)$
%e x + %e − x
(%o671) g x :=
2

(%t672)

4 CISSOID OF DIOCLES

4.1 Cartesian Equation:


y^2 =x^3(2a − x)
Polar Equation:
r = 2a tan θ sin θ
assignment_17.09.2019.wxmx 4 / 19

--> b:1$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",title="CISSOD OF DIOCLES",
nticks=500,
yrange=[-15,15],
xrange=[0,2],
key="2*b*tan(%theta)*sin(%theta)",
color=light-blue,
line_width=2,
polar(2*b*tan(%theta)*sin(%theta),%theta,-15,15));

(%t670)

(%o670)

5 FIGURE EIGHT

5.1 Cartesian Equation:


x^4 = a^2(x^2 − y^2)
Polar Equation:
r^2 = a^2cos(2θ)sec^4θ
assignment_17.09.2019.wxmx 5 / 19

--> c:4$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",title="FIGURE 8",
nticks=800,
yrange=[-4,4],
xrange=[-5,5],
polar(sqrt(c^2*cos(2*%theta)*sec(%theta)**4),%theta,-8,8));

(%t30)

(%o30)

6 EQUIANGULAR SPIRAL

6.1 Polar Equation:


r=ae^(θcot b)
assignment_17.09.2019.wxmx 6 / 19

--> a:.1$
b:-5$
load(draw)$
wxdraw2d(grid=true,
user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",
title="EQUIANGULAR SPIRAL",
nticks=5000,
yrange=[-8,8],
xrange=[-8,8],
polar(a*%e^(%theta*cot(b)),%theta,0,100));

(%t667)

(%o667)

7 FOLIUM OF DESCARTES

7.1 Cartesian Equation:


x^3 + y^3 = 3axy
Parametric Equations:
x(t) =3at/1 + t^3
y(t) =3at^2/1 + t^3
assignment_17.09.2019.wxmx 7 / 19

--> a:2$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis;",
nticks=1000,
title="FOLIUM OF DESCARTES",
color=dark-pink,
xrange=[-8,8],
yrange=[-8,8],
key="x^3+y^3=3*a*y*x",
implicit(x^3+y^3=3*a*y*x,x,-5,5,y,-5,5))$

(%t81)

8 HYPERBOLIC SPIRAL

8.1 Polar Equation:


r = a/θ
assignment_17.09.2019.wxmx 8 / 19

--> a:2$
load(draw)$
wxdraw2d(user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",
title="HYPERBOLIC SPIRAL",
nticks=800,
yrange=[-2,2],
xrange=[-2,2],
polar(a/%theta,%theta,0,25));

(%t567)

(%o567)

9 LEMNISCATE OF BERNOULLI

9.1 Cartesian Equation:


(x^2 + y^2)^2 = a^2(x^2 − y^2)
Polar Equation:
r^2 = a^2cos(2θ)
assignment_17.09.2019.wxmx 9 / 19

--> a:1$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1000;set xtics axis;set ytics axis;",
nticks=100,
title="LEMNISCATE OF BERNOULLI",
color=dark-pink,
xrange=[-4,4],
yrange=[-2,2],
key="(x^2+y^2)^2=a^2*(x^2-y^2)",
implicit((x^2+y^2)^2=a^2*(x^2-y^2),x,-3,3,y,-2,2))$

(%t239)

10 LITUUS

10.1 Polar Equation:


r^2 = a^2/θ
assignment_17.09.2019.wxmx 10 / 19

--> a:1.5$
load(draw)$
wxdraw2d(grid=true,
user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",
title="LITUUS",
nticks=800,
color=brown,
yrange=[-3,3],
xrange=[-3,3],
key="r^2=a^2/%theta",
polar(sqrt(a^2/%theta),%theta,0,50),
polar(-sqrt(a^2/%theta),%theta,0,50))$

(%t635)

11 RHODONEA CURVES

11.1 Polar Equation:


r = a sin(kθ)
assignment_17.09.2019.wxmx 11 / 19

--> a:1$
k:5$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis",
title="RHODONEA CURVES",
nticks=100,
yrange=[-3,3],
xrange=[-3,3],
key="a*sin(k*%theta)",
polar(a*sin(k*%theta),%theta,0,5))$

(%t91)

12 RIGHT STROPHOID

12.1 Cartesian Equation:


y^2 =x^2(a − x)/a + x
Polar Equation:
r =a cos(2θ)/cos θ
assignment_17.09.2019.wxmx 12 / 19

--> a:1$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1000;set xtics axis;set ytics axis;",
nticks=100,
title="RIGHT STROPHOID",
color=dark-pink,
xrange=[-4,4],
yrange=[-2,2],
key="y^2=x^2(a-x)/(a+x)",
implicit(y^2=(x^2*(a-x))/(a+x),x,-1,3,y,-1,1))$

(%t130)

13 SERPENTINE

13.1 Cartesian Equation:


x^2y + aby − a^2x = 0, ab > 0
assignment_17.09.2019.wxmx 13 / 19

--> load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1000;set xtics axis;set ytics axis;",
nticks=100,
title="SERPENTINE",
color=dark-green,
xrange=[-6,6],
yrange=[-6,6],
key="y^2=x^2(a-x)/(a+x)",
explicit((4*x)/(x^2+1),x,-10,10))$

(%t660)

14 SPIRAL OF ARCHIMEDES

14.1 Polar Equation:


r = aθ
assignment_17.09.2019.wxmx 14 / 19

--> a:.5$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1;set xtics axis;set ytics axis",
title="SPIRAL OF ARCHIMEDES",
nticks=800,
yrange=[-15,15],
xrange=[-15,15],
key="r=a*%theta",
color=purple,
line_width=3,
polar(a*%theta,%theta,0,30))$

(%t675)

15 TRIFOLIUM

15.1 Cartesian Equation:


(x^2 + y^2)(y^2 + x(x + a)) = 4axy^2
Polar Equation:
r = a cos θ(4 sin^2θ − 1)
assignment_17.09.2019.wxmx 15 / 19

--> a:1$
b:1$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1000;set xtics axis;set ytics axis;",
nticks=100,
title="TRIFOLIUM",
color=dark-red,
xrange=[-2,2],
yrange=[-2,2],
key="(x^2+y^2)*(y^2+x*(x+a))=4*a*x*y^2",
implicit((x^2+y^2)*(y^2+x*(x+a))=4*a*x*y^2,x,-2,2,y,-2,2))$

(%t261)

16 WITCH OF AGNESI

16.1 Cartesian Equation:


y(x^2 + a^2) = a^3
Parametric Equations:
x(t) = at
y(t) =a/1 + t^2
assignment_17.09.2019.wxmx 16 / 19

--> a:1$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 1000;set xtics axis;set ytics axis;",
nticks=800,
title="WITCH OF AGNESI",
color=orange,
xrange=[-4,4],
yrange=[-2,2],
key="y*(x^2+a^2)=a^3",
line_width=2,
implicit(y*(x^2+a^2)=a^3,x,-3,3,y,-4,4))$

(%t678)

17 CYCLOID
assignment_17.09.2019.wxmx 17 / 19

--> a:2$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 8;set xtics axis;set ytics axis;",
nticks=1000,
title="CYCLOID",
color=dark-violet,
xrange=[-8,8],
yrange=[-8,8],
key="1*(t-sin(t)),1*(1-cos(t))",
parametric(1*(t-sin(t)),1*(1-cos(t)),t,-5*%pi,5*%pi))$

(%t468)

18 THREE LEAVED ROSE

3-Leaved rose
assignment_17.09.2019.wxmx 18 / 19

--> wxdraw2d(title="3-LEAVED ROSE",


nticks=200, polar(sin(3*%theta),%theta,-4*%pi,4*%pi));

(%t82)

(%o82)

19 FOUR LEAVED ROSE

4-Leaved rose

--> wxdraw2d(title="4-LEAVED ROSE",


color=dark-grey,
nticks=200, polar(sin(2*%theta),%theta,-4*%pi,4*%pi));

(%t86)

(%o86)
assignment_17.09.2019.wxmx 19 / 19

20 COCHLEOID

20.1 Polar Equation:


r = asin θ/θ

--> a:4$
load(draw)$
wxdraw2d(grid=true,user_preamble="set zeroaxis linetype 10;set xtics axis;set ytics axis",
title="COCHLEOID",
nticks=800,
yrange=[-5,5],
xrange=[-5,5],
key="r=a*sin(%theta)/%theta",
color=turquoise,
polar(a*sin(%theta)/%theta,%theta,-15,15))$

(%t638)

You might also like