SlidePub
Home
Categories
Login
Register
Home
General
Persamaan Diferensial Biasa Matematika Teknik .ppt
Persamaan Diferensial Biasa Matematika Teknik .ppt
marialqibtiya
27 views
22 slides
Sep 18, 2024
Slide
1
of 22
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
About This Presentation
Persamaan Diferensial Biasa Matematika Teknik PDB
Size:
411.76 KB
Language:
en
Added:
Sep 18, 2024
Slides:
22 pages
Slide Content
Slide 1
by Lale Yurttas, Texas A
&M University
Chapter 25 1
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Ordinary Differential Equations
•Equations which are composed of an unknown
function and its derivatives are called differential
equations.
•Differential equations play a fundamental role in
engineering because many physical phenomena are
best formulated mathematically in terms of their rate
of change.
v- dependent variable
t- independent variable
v
m
c
g
dt
dv
Slide 2
by Lale Yurttas, Texas A
&M University
Part 7 2
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•When a function involves one dependent variable, the
equation is called an ordinary differential equation
(or ODE). A partial differential equation (or PDE)
involves two or more independent variables.
•Differential equations are also classified as to their
order.
–A first order equation includes a first derivative as its
highest derivative.
–A second order equation includes a second derivative.
•Higher order equations can be reduced to a system of
first order equations, by redefining a variable.
Slide 3
by Lale Yurttas, Texas A
&M University
Part 7 3
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ODEs and Engineering Practice
Figure PT7.1
Slide 4
by Lale Yurttas, Texas A
&M University
Chapter 25 4
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure PT7.2
Slide 5
by Lale Yurttas, Texas A
&M University
Chapter 25 5
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Runga-Kutta Methods
Chapter 25
•This chapter is devoted to solving ordinary
differential equations of the form
Euler’s Method
),(yxf
dx
dy
Slide 6
by Lale Yurttas, Texas A
&M University
Chapter 25 6
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 25.2
Slide 7
by Lale Yurttas, Texas A
&M University
Chapter 25 7
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•The first derivative provides a direct estimate of the
slope at x
i
where f(x
i,y
i) is the differential equation evaluated at x
i
and y
i. This estimate can be substituted into the
equation:
•A new value of y is predicted using the slope to
extrapolate linearly over the step size h.
),(
iiyxf
hyxfyy
iiii
),(
1
Slide 8
by Lale Yurttas, Texas A
&M University
Chapter 25 8
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1,0
5.820122),(
00
23
yxpointStarting
xxxyxf
dx
dy
25.55.0*5.81),(
1
hyxfyy
iiii
Not good
Slide 9
by Lale Yurttas, Texas A
&M University
Chapter 25 9
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Error Analysis for Euler’s Method/
•Numerical solutions of ODEs involves two types of
error:
–Truncation error
•Local truncation error
•Propagated truncation error
–The sum of the two is the total or global truncation error
–Round-off errors
)(
!2
),(
2
2
hOE
h
yxf
E
a
ii
a
Slide 10
by Lale Yurttas, Texas A
&M University
Chapter 25 10
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•The Taylor series provides a means of quantifying the
error in Euler’s method. However;
–The Taylor series provides only an estimate of the local
truncation error-that is, the error created during a single
step of the method.
–In actual problems, the functions are more complicated
than simple polynomials. Consequently, the derivatives
needed to evaluate the Taylor series expansion would not
always be easy to obtain.
•In conclusion,
–the error can be reduced by reducing the step size
–If the solution to the differential equation is linear, the
method will provide error free predictions as for a straight
line the 2
nd
derivative would be zero.
Slide 11
by Lale Yurttas, Texas A
&M University
Chapter 25 11
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 25.4
Slide 12
by Lale Yurttas, Texas A
&M University
Chapter 25 12
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Improvements of Euler’s method
•A fundamental source of error in Euler’s
method is that the derivative at the beginning
of the interval is assumed to apply across the
entire interval.
•Two simple modifications are available to
circumvent this shortcoming:
–Heun’s Method
–The Midpoint (or Improved Polygon) Method
Slide 13
by Lale Yurttas, Texas A
&M University
Chapter 25 13
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Heun’s Method/
•One method to improve the estimate of the slope
involves the determination of two derivatives for the
interval:
–At the initial point
–At the end point
•The two derivatives are then averaged to obtain an
improved estimate of the slope for the entire interval.
h
yxfyxf
yy
hyxfyy
iiii
ii
iiii
2
),(),(
:Corrector
),( :Predictor
0
11
1
0
1
Slide 14
by Lale Yurttas, Texas A
&M University
Chapter 25 14
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 25.9
Slide 15
by Lale Yurttas, Texas A
&M University
Chapter 25 15
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Midpoint (or Improved Polygon) Method/
•Uses Euler’s method t predict a value of y at the
midpoint of the interval:
hyxfyy
iiii ),(
2/12/11
Slide 16
by Lale Yurttas, Texas A
&M University
Chapter 25 16
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 25.12
Slide 17
by Lale Yurttas, Texas A
&M University
Chapter 25 17
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Runge-Kutta Methods (RK)
•Runge-Kutta methods achieve the accuracy of a
Taylor series approach without requiring the
calculation of higher derivatives.
),(
),(
),(
),(
constants'
),,(
11,122,1111
22212133
11112
1
2211
1
hkqhkqhkqyhpxfk
hkqhkqyhpxfk
hkqyhpxfk
yxfk
sa
kakaka
hhyxyy
nnnnninin
ii
ii
ii
nn
iiii
Increment function
p’s and q’s are constants
Slide 18
by Lale Yurttas, Texas A
&M University
Chapter 25 18
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•k’s are recurrence functions. Because each k is a functional
evaluation, this recurrence makes RK methods efficient for
computer calculations.
•Various types of RK methods can be devised by employing
different number of terms in the increment function as
specified by n.
•First order RK method with n=1 is in fact Euler’s method.
•Once n is chosen, values of a’s, p’s, and q’s are evaluated by
setting general equation equal to terms in a Taylor series
expansion.
hkakayy
ii
)(
22111
Slide 19
by Lale Yurttas, Texas A
&M University
Chapter 25 19
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•Values of a
1
, a
2
, p
1
, and q
11
are evaluated by setting
the second order equation to Taylor series expansion
to the second order term. Three equations to evaluate
four unknowns constants are derived.
hkq
y
yxf
hp
x
yxf
yxfk
hkqyhpxfkexpandnowWe
hkqyhpxfk
yxfk
h
dx
dy
y
yxf
x
yxf
hyxfyyThen
dx
dy
y
yxf
x
yxf
yxfBut
h
yxf
hyxfyyHowever
hkakayyhaveWe
iiii
ii
ii
ii
ii
iiii
iiii
iiii
ii
ii
iiii
ii
11112
11112
11112
1
2
1
2
1
22111
),(),(
),(
),(
),(
),(
!2
),(),(
),(
),(),(
),('
!2
),('
),(
)(:
Slide 20
by Lale Yurttas, Texas A
&M University
Chapter 25 20
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•We replace k
1
and
k
2
in to get
or
Compare with
and obtain (3 equations-4 unknowns)
2
1
2
1
1
112
12
21
qa
pa
aa
!2
),(
),(),(
),(
2
1
h
yxf
y
yxf
x
yxf
hyxfyy
ii
iiii
iiii
hkakayy
ii )(
22111
hhkq
y
yxf
hp
x
yxf
yxfayxfayy
iiii
iiiiii
1111211
),(),(
),(),(
y
yxf
hyxfqa
x
yxf
hpayxfhayxfhayy
ii
ii
ii
iiiiii
),(
),(
),(
),(),(
2
112
2
12211
Slide 21
by Lale Yurttas, Texas A
&M University
Chapter 25 21
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
•Because we can choose an infinite number of values for
a
2, there are an infinite number of second-order RK
methods.
•Every version would yield exactly the same results if the
solution to ODE were quadratic, linear, or a constant.
•However, they yield different results if the solution is
more complicated (typically the case).
•Three of the most commonly used methods are:
–Huen Method with a Single Corrector (a
2=1/2)
–The Midpoint Method (a
2=1)
–Raltson’s Method (a
2=2/3)
Slide 22
by Lale Yurttas, Texas A
&M University
Chapter 25 22
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 25.14
Tags
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
27
Slides
22
Age
459 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
45 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
47 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
42 views
14
Fertility awareness methods for women in the society
Isaiah47
40 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
38 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
41 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-22)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better