Web-Books
im Austria-Forum
Austria-Forum
Web-Books
Informatik
Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python
Seite - 95 -
  • Benutzer
  • Version
    • Vollversion
    • Textversion
  • Sprache
    • Deutsch
    • English - Englisch

Seite - 95 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Bild der Seite - 95 -

Bild der Seite - 95 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Text der Seite - 95 -

4SolvingOrdinaryDifferentialEquations Differential equations constitute one of themost powerful mathematical tools to understand and predict the behavior of dynamical systems in nature, engineering, andsociety.Adynamicalsystemissomesystemwithsomestate,usuallyexpressed by a set of variables, that evolves in time. For example, an oscillating pendulum, thespreadingofadisease, and theweatherareexamplesofdynamical systems.We canusebasic lawsofphysics, or plain intuition, to expressmathematical rules that govern theevolutionof thesystemin time. These rules take the formofdifferential equations.Youareprobablywellexperiencedwithequations,at leastequationslike axCbD0orax2CbxCcD0. Suchequationsareknownasalgebraicequations, and theunknownisanumber. Theunknowninadifferentialequation isa function, andadifferentialequationwillalmostalways involvethis functionandoneormore derivatives of the function. For example, f 0.x/ D f.x/ is a simple differential equation (asking if there is any functionf such that it equals its derivative – you might remember thatex is acandidate). The present chapter starts with explaining how easy it is to solve both single (scalar) first-order ordinarydifferential equations and systemsoffirst-order differ- entialequationsbytheForwardEulermethod.Wedemonstrateall themathematical andprogrammingdetails through twospecificapplications: populationgrowthand spreadingofdiseases. Thenwe turn to a physical application: oscillatingmechanical systems, which arise in awide rangeof engineering situations. Thedifferential equation is nowof secondorder, and theForwardEulermethoddoesnot performwell. This observa- 95©TheAuthor(s)2016 S.Linge,H.P.Langtangen,Programming for Computations –Python, Texts inComputational Science andEngineering15,DOI10.1007/978-3-319-32428-9_4
zurück zum  Buch Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python"
Programming for Computations – Python A Gentle Introduction to Numerical Simulations with Python
Titel
Programming for Computations – Python
Untertitel
A Gentle Introduction to Numerical Simulations with Python
Autoren
Svein Linge
Hans Petter Langtangen
Verlag
Springer Open
Datum
2016
Sprache
englisch
Lizenz
CC BY-NC 4.0
ISBN
978-3-319-32428-9
Abmessungen
17.8 x 25.4 cm
Seiten
248
Schlagwörter
Programmiersprache, Informatik, programming language, functional, imperative, object-oriented, reflective
Kategorie
Informatik
Web-Books
Bibliothek
Datenschutz
Impressum
Austria-Forum
Austria-Forum
Web-Books
Programming for Computations – Python