Professional Documents
Culture Documents
Chapter 2 - First Order Differential Equation
Chapter 2 - First Order Differential Equation
Solution:
or
Solution:
Solution:
Solution:
Solution:
Solution:
Then:
Substituting c to the
solution
9/27/2022 35
Illustrative Example
9/27/2022 36
Example 1
a) Find the amount of salt Q(t) in the tank at any time, and
b) Find the limiting amount QL that is present after a very long time.
c) If r=3 and 𝑄0 = 2𝑄𝐿 , find the time T after which the salt level is
within 2% of 𝑄𝐿 .
d) Also find the flow rate that is required if the value of T is not to
exceed 45 min
9/27/2022 Ch 2: First Order Differential Eq 38
Continued:
Solution:
Solution:
The mentioned states that the given initial value problem has a
solution and also that the problem has only one solution. In other
words, the theorem asserts both the existence and uniqueness of the
solution of the initial value problem.
Should be noted that the theorems does not tell us how to obtain
this solution
9/27/2022 59
Continued:
Also, if:
Solution:
Solution: Method 1
Then:
Solution: Method 2
To find F, integrate Fy(x,y) with respect to y to obtain:
Then:
Solution:
N 2𝑥 2 + 9𝑥𝑦 M 3𝑥𝑦 + 6𝑦 2
Implies to
Solution:
Solution:
Solution:
In the preceding example we saw that halving the step size had the
effect of essentially halving the error. However, even then the
accuracy was not as good as we probably would have liked. Of
course we could just keep decreasing the step size to increase the
accuracy, but then the number of steps we would have to take would
make the calculation very cumbersome.
A better approach is to derive methods that have a higher order of
accuracy. We will consider two such methods.
QUESTION:
Use Euler’s method, Modified Euler’s method and Fourth Order Runge Kutta
(RK4) method with ℎ = 0.1 to determine the solution to given initial value problem
at the specified point 𝑥 = 0.5 & 1. In each case compare your answer to
that obtained using Euler’s method and exact solution.
1
𝑦′ + 𝑦 = 𝑒 −𝑥/10 𝑐𝑜𝑠𝑥 , 𝑦 0 =0
10
Plot these points and describe the behavior of the corresponding solution.
Numerical Techniques
for all positive values of t for which (tx, ty) is in the domain of 𝑓.
Applied: Page 40
9/27/2022 Ch 2: First Order Differential Eq 137
Continued:
Example:
Example:
1-
2-
3-
4-
5-
Applications are:
Kirchhoff's Law:
• KVL: States that the algebraic sum of all voltages around
a closed path (or loop) is zero.
Solution: