Preview

Ordinary differential equations

Better Essays
Open Document
Open Document
2071 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Ordinary differential equations
Chapter 7

Ordinary Differential
Equations

Matlab has several different functions for the numerical solution of ordinary differential equations. This chapter describes the simplest of these functions and then compares all of the functions for efficiency, accuracy, and special features. Stiffness is a subtle concept that plays an important role in these comparisons.

7.1

Integrating Differential Equations

The initial value problem for an ordinary differential equation involves finding a function y(t) that satisfies dy(t) = f (t, y(t)) dt together with the initial condition y(t0 ) = y0 .
A numerical solution to this problem generates a sequence of values for the independent variable, t0 , t1 , . . . , and a corresponding sequence of values for the dependent variable, y0 , y1 , . . . , so that each yn approximates the solution at tn : yn ≈ y(tn ), n = 0, 1, . . . .
Modern numerical methods automatically determine the step sizes hn = tn+1 − tn so that the estimated error in the numerical solution is controlled by a specified tolerance. The fundamental theorem of calculus gives us an important connection between differential equations and integrals:
∫ t+h f (s, y(s))ds. y(t + h) = y(t) + t September 17, 2013

1

2

Chapter 7. Ordinary Differential Equations

We cannot use numerical quadrature directly to approximate the integral because we do not know the function y(s) and so cannot evaluate the integrand. Nevertheless, the basic idea is to choose a sequence of values of h so that this formula allows us to generate our numerical solution.
One special case to keep in mind is the situation where f (t, y) is a function of t alone. The numerical solution of such simple differential equations is then just a sequence of quadratures:


tn+1

yn+1 = yn +

f (s)ds. tn Throughout this chapter, we frequently use “dot” notation for derivatives: y= ˙

7.2

d2 y(t) dy(t) and y =
¨
. dt dt2

Systems of Equations

Many



Bibliography: [1] U. M. Ascher and L. R. Petzold, Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations, SIAM, Philadelphia, 1998. [3] P. Bogacki and L. F. Shampine, A 3(2) pair of Runge-Kutta formulas, Applied Mathematics Letters, 2 (1989), pp. 1–9. Knuth, On the Lambert W function, Advances in Computational Mathematics, 5 (1996), pp [7] L. F. Shampine and M. W. Reichelt, The MATLAB ODE suite, SIAM Journal on Scientific Computing, 18 (1997), pp [8] C. Sparrow, The Lorenz Equations: Bifurcations, Chaos, and Strange Attractors, Springer-Verlag, New York, 1982. [9] J. C. G. Walker, Numerical Adventures with Geochemical Cycles, Oxford University Press, New York, 1991.

You May Also Find These Documents Helpful

  • Good Essays

    Mat 540 Final

    • 783 Words
    • 4 Pages

    example, in [a] you just enter x(x + 1)dy = 1 {1, 1/2}. [curly brackets for the initial conditions,…

    • 783 Words
    • 4 Pages
    Good Essays
  • Good Essays

    C3 Coursework

    • 2611 Words
    • 11 Pages

    In this coursework I am going to investigate numerical methods of solving equations. The methods I will use are:…

    • 2611 Words
    • 11 Pages
    Good Essays
  • Satisfactory Essays

    WeekOneTeamWorkEditTwo

    • 608 Words
    • 3 Pages

    Hake, Stephen & Saxon, John. (2004) Saxon Math 5/4 Student Edition. Saxon Publishers, Inc., and Stephen Hake…

    • 608 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    III. Outline of Procedure: For each system, measure the quantities of the reactants with a buret. Measure the reactant having the smaller volume into a plastic- foam cup; measure the other into a smaller beaker. Measure the temperature of each solution and record the average of the two temperatures to the nearest 0.01˚C. Pour the solution contained in the beaker into the foam cup and stir with the thermometer. Continue stirring for one or two minutes, then record the maximum temperature obtained to the nearest 0.01˚C. Rinse the foam cup and beaker. Wipe, dry, and make another run. When all the runs are finished, plot a graph showing delta t versus volume of reactants. From the molarity of each reactant and the volume used, find the number of moles of each used to produce the maximum temperature.…

    • 1627 Words
    • 7 Pages
    Powerful Essays
  • Better Essays

    In the last 30 years women in the UK working has risen to 2.45 million whereas men working has risen by 0.5 million. Item A suggests a variety of gender inequalities in today’s society for example the pay difference women receive as it is suggested according to item A that women earn a quarter of a million pounds less than men and this is without women not having any children if she did have children it would be £140,000 less. The pay gap reduces family income overall which isn’t beneficial for families. Another issue is that women mainly work in low paid sectors like retail or caring and due to women having a glass ceiling above men taking all management positions it has left women with the low paid jobs.…

    • 1467 Words
    • 6 Pages
    Better Essays
  • Good Essays

    A small ball is shot, at three various angles (30,45,60), and through the known values the initial velocity of the ball is found. As a result, the range of the project can be represented with the equation…

    • 1408 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Problem Set 1

    • 682 Words
    • 3 Pages

    more of one good (or service), another must be forgone. That is the meaning of…

    • 682 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Econimic Output

    • 812 Words
    • 4 Pages

    1. Discuss and explain what effect a reduction in the marginal propensity to consume has on the size of the multiplier.…

    • 812 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Jeffreys, H. and Jeffreys, B. S. Methods of Mathematical Physics, 3rd ed. Cambridge, England: Cambridge University Press, p. 10, 1988.…

    • 471 Words
    • 2 Pages
    Good Essays
  • Good Essays

    can be expressed in words, graphs or mathematical equations. In this course, we’ll be using…

    • 516 Words
    • 3 Pages
    Good Essays
  • Good Essays

    IS-LM Relation - Economics

    • 1281 Words
    • 5 Pages

    Since no units of measurement are given in the problem; it will be assumed that Y, C, I, G, T, (M/P)d, and M/P are all measured in billions of US$. The interest rate i is expressed as a proportion and is measured as a decimal.…

    • 1281 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Survival DIstributions

    • 1378 Words
    • 6 Pages

    To completely determine the distribution of T0 , we may use (for t ≥ 0),…

    • 1378 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Final Sem2 2014

    • 626 Words
    • 3 Pages

    2. (12 marks) One of your classmates estimates a probit model and tells you that she…

    • 626 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Sci Labs Notes

    • 2424 Words
    • 10 Pages

    palette utility function. New ODE solver added LSodar automatically switches methods to efficiently solve both stiff and nonstiff problems. It includes a rootfinding feature. Two new fixed-size step ODE solvers added Dormand-Prince 4(5) and Runge-Kutta 4(5) have been added to the CVode package. They also benefit from the rootfinding feature. Implicit fixed-size stop ODE solver added Implicit Runge-Kutta 4(5) also benefits from the CVode rootfinding feature. Block parameter errors (types and sizes) reporting improved. Some scopes blink on simulation avoided.…

    • 2424 Words
    • 10 Pages
    Good Essays
  • Powerful Essays

    Solving Ode in Matlab

    • 12466 Words
    • 50 Pages

    L.F. Shampine and I. Gladwell Mathematics Department Southern Methodist University Dallas, TX 75275 S. Thompson Department of Mathematics & Statistics Radford University Radford, VA 24142…

    • 12466 Words
    • 50 Pages
    Powerful Essays