SlideShare a Scribd company logo
PEI DU
The Gompertz equation has been used to model self-limited population growth.  It is characterized by the differential equation dy/dt=r*y*ln(K/y) along with the initial condition y(0)=y0. Since it is widely used in science and is a typical example for ordinary differential equations,  I want to use these slides to show how to draw its graphs using Maple.
 
graph Maple codes with(DEtools): Phaseportrait(D(y)(t))=2*y(t)*ln(3/y(t)), y(t), t=1..6,[[y(0)=0.5],[y(0)=1],[y(0)=1.5]],title=‘Asymptotic solution’, colour=magenta,linecolor=[gold, yellow, wheat]);
Maple codes: > with DEtools: > y: =‘y’: > eqn: diff(y(t),t)=2y(t)ln(3/y(t)); > dfieldplot(eqn, y(t),t=1..6,y=-1..4)
 
with(plots): p1:=dsolve({D(y)(t)=2*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p2:=dsolve({D(y)(t)=3*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p3:=dsolve({D(y)(t)=4*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p4:=dsolve({D(y)(t)=5*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p5:=dsolve({D(y)(t)=6*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric):
a1:= odeplot(p1,[t, y(t)],-1..3, color=blue): a2:= odeplot(p2,[t, y(t)],-.8..3, color=green): a3:= odeplot(p3,[t, y(t)],-.6..3, color=yellow): a4:= odeplot(p4,[t, y(t)],-.4..3, color=orange): a5:= odeplot(p5,[t, y(t)],-.4..3, color=red): Display(a1,a2,a3,a4,a5);
graph on Maple Maple codes With(plots): eqn: =D(y)(t)=C*y(t)*ln(3/y(t)): toplot={seq(subs(C=i, eqn), i=2..6)}; plot(toplot, t=-5..5,-5..5);
The graphing codes showed above can be extended to many other ordinary differential equations.  Maple has many handy graphing functions. It can be used to simple functions, direction fields, asymptotes, and families of functions. Maple also has functions to create animated functions.
Special thanks to my tutor Kathy.  : )

More Related Content

DOC
Extreme values
PDF
Notes 3-7
PDF
Ch32 26
PDF
Efoom 2020
PDF
Julia Set
PDF
Funções trigonométricas
DOC
Properties of addition and multiplication
ODP
Completing the square
Extreme values
Notes 3-7
Ch32 26
Efoom 2020
Julia Set
Funções trigonométricas
Properties of addition and multiplication
Completing the square

What's hot (17)

PDF
Exercise #13 notes ~ graphing
PDF
Ch22 28
PDF
AP Calculus Slides December 10, 2007
PDF
AP Calculus January 5, 2009
PDF
Statistics for fixed points of x ↦ x^x mod p
PPS
Alg1 ch0407example23
PDF
Funções 4
PDF
Day 2 examples
DOC
Exp&log graphs it worksheet
PPTX
Factoring
DOCX
งาน 9 สุภาพร
PDF
Jan. 13 polynonial sketching
PPTX
Limits2
PPTX
2.2-2.5 review (2)
PDF
Day 1b examples
DOCX
งาน 9 อังสนา
PDF
Lesson 5: Functions and surfaces
Exercise #13 notes ~ graphing
Ch22 28
AP Calculus Slides December 10, 2007
AP Calculus January 5, 2009
Statistics for fixed points of x ↦ x^x mod p
Alg1 ch0407example23
Funções 4
Day 2 examples
Exp&log graphs it worksheet
Factoring
งาน 9 สุภาพร
Jan. 13 polynonial sketching
Limits2
2.2-2.5 review (2)
Day 1b examples
งาน 9 อังสนา
Lesson 5: Functions and surfaces
Ad

Viewers also liked (20)

PPT
Europe 6B
PPS
Simplethings
PPT
Hr Managers Presentation
PPT
Sph 106 Ch 16
PPT
Sph 107 Ch 7
PDF
Work Samples
PPT
SPH 107 Ch 3
PDF
Langley primary
PDF
Designing the Mobile Experience
PPT
Sph 106 Ch 14
PDF
Ei09 Thousands Observers
PPT
Bill haley
PDF
The Dawn
PDF
ikd312-03-design
PPS
Master Refined Staging Pp
PPT
Ugliest Nhl Jerseys
ODP
HC Vrchlabí
PDF
isd314-06-association-mining
PDF
Providing End-to-End Network QoS via Overlay Networks and Bandwidth On-demand...
PPT
1fevrier
Europe 6B
Simplethings
Hr Managers Presentation
Sph 106 Ch 16
Sph 107 Ch 7
Work Samples
SPH 107 Ch 3
Langley primary
Designing the Mobile Experience
Sph 106 Ch 14
Ei09 Thousands Observers
Bill haley
The Dawn
ikd312-03-design
Master Refined Staging Pp
Ugliest Nhl Jerseys
HC Vrchlabí
isd314-06-association-mining
Providing End-to-End Network QoS via Overlay Networks and Bandwidth On-demand...
1fevrier
Ad

Similar to Visualizing Differential Equations (20)

PDF
Conference poster 6
PDF
Solutions for Image Processing for Engineers by Yagle and Ulaby
PDF
Solution Manual Image Processing for Engineers by Yagle and Ulaby
PDF
Cosmin Crucean: Perturbative QED on de Sitter Universe.
PDF
Statistical Inference Using Stochastic Gradient Descent
PDF
Statistical Inference Using Stochastic Gradient Descent
PDF
Lesson 7: Vector-valued functions
PDF
Solutions for Problems in Modern Digital and Analog Communication Systems, 5t...
PDF
SLC 2015 talk improved version
PDF
Ijmet 10 01_046
PDF
guenomu software -- model and agorithm in 2013
PDF
近似ベイズ計算によるベイズ推定
PDF
Dual Gravitons in AdS4/CFT3 and the Holographic Cotton Tensor
PDF
Randić Index of Some Class of Trees with an Algorithm
PDF
Differential Equations 4th Edition Blanchard Solutions Manual
PDF
IRJET- Total Domatic Number of a Jump Graph
PDF
Midsem sol 2013
PDF
Contemporary communication systems 1st edition mesiya solutions manual
PDF
Ejercicio de fasores
PDF
Cash Settled Interest Rate Swap Futures
Conference poster 6
Solutions for Image Processing for Engineers by Yagle and Ulaby
Solution Manual Image Processing for Engineers by Yagle and Ulaby
Cosmin Crucean: Perturbative QED on de Sitter Universe.
Statistical Inference Using Stochastic Gradient Descent
Statistical Inference Using Stochastic Gradient Descent
Lesson 7: Vector-valued functions
Solutions for Problems in Modern Digital and Analog Communication Systems, 5t...
SLC 2015 talk improved version
Ijmet 10 01_046
guenomu software -- model and agorithm in 2013
近似ベイズ計算によるベイズ推定
Dual Gravitons in AdS4/CFT3 and the Holographic Cotton Tensor
Randić Index of Some Class of Trees with an Algorithm
Differential Equations 4th Edition Blanchard Solutions Manual
IRJET- Total Domatic Number of a Jump Graph
Midsem sol 2013
Contemporary communication systems 1st edition mesiya solutions manual
Ejercicio de fasores
Cash Settled Interest Rate Swap Futures

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
A Presentation on Artificial Intelligence
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
KodekX | Application Modernization Development
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation theory and applications.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
A Presentation on Artificial Intelligence
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Weekly Chronicles - August'25 Week I
KodekX | Application Modernization Development
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectral efficient network and resource selection model in 5G networks
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

Visualizing Differential Equations

  • 2. The Gompertz equation has been used to model self-limited population growth. It is characterized by the differential equation dy/dt=r*y*ln(K/y) along with the initial condition y(0)=y0. Since it is widely used in science and is a typical example for ordinary differential equations, I want to use these slides to show how to draw its graphs using Maple.
  • 3.  
  • 4. graph Maple codes with(DEtools): Phaseportrait(D(y)(t))=2*y(t)*ln(3/y(t)), y(t), t=1..6,[[y(0)=0.5],[y(0)=1],[y(0)=1.5]],title=‘Asymptotic solution’, colour=magenta,linecolor=[gold, yellow, wheat]);
  • 5. Maple codes: > with DEtools: > y: =‘y’: > eqn: diff(y(t),t)=2y(t)ln(3/y(t)); > dfieldplot(eqn, y(t),t=1..6,y=-1..4)
  • 6.  
  • 7. with(plots): p1:=dsolve({D(y)(t)=2*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p2:=dsolve({D(y)(t)=3*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p3:=dsolve({D(y)(t)=4*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p4:=dsolve({D(y)(t)=5*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric): p5:=dsolve({D(y)(t)=6*y(t)*ln(3/y(t)),y(0)=1},y(t), type=numeric):
  • 8. a1:= odeplot(p1,[t, y(t)],-1..3, color=blue): a2:= odeplot(p2,[t, y(t)],-.8..3, color=green): a3:= odeplot(p3,[t, y(t)],-.6..3, color=yellow): a4:= odeplot(p4,[t, y(t)],-.4..3, color=orange): a5:= odeplot(p5,[t, y(t)],-.4..3, color=red): Display(a1,a2,a3,a4,a5);
  • 9. graph on Maple Maple codes With(plots): eqn: =D(y)(t)=C*y(t)*ln(3/y(t)): toplot={seq(subs(C=i, eqn), i=2..6)}; plot(toplot, t=-5..5,-5..5);
  • 10. The graphing codes showed above can be extended to many other ordinary differential equations. Maple has many handy graphing functions. It can be used to simple functions, direction fields, asymptotes, and families of functions. Maple also has functions to create animated functions.
  • 11. Special thanks to my tutor Kathy. : )