Web-Books
in the Austria-Forum
Austria-Forum
Web-Books
Informatik
Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python
Page - 142 -
  • User
  • Version
    • full version
    • text only version
  • Language
    • Deutsch - German
    • English

Page - 142 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Image of the Page - 142 -

Image of the Page - 142 - in Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python

Text of the Page - 142 -

142 4 SolvingOrdinaryDifferentialEquations Fig.4.25 General oscillatingsystem Fig.4.26 Apendulumwith forces Thisequation is, however,morecommonlyreordered to mu00Cf.u0/Cs.u/DF.t/: (4.66) Because the differential equation is of second order, due to the termu00, we need two initial conditions: u.0/DU0; u0.0/DV0: (4.67) Note thatwith the choicesf.u0/ D 0, s.u/ D ku, andF.t/ D 0we recover the originalODEu00C!2uD0with!Dpk=m. Howcanwe solve (4.66)? As for the simpleODEu00 C!2u D 0, we start by rewriting the second-orderODEasasystemof twofirst-orderODEs: v0 D 1 m .F.t/ s.u/ f.v//; (4.68) u0 Dv: (4.69) The initial conditionsbecomeu.0/DU0 andv.0/DV0.
back to the  book Programming for Computations – Python - A Gentle Introduction to Numerical Simulations with Python"
Programming for Computations – Python A Gentle Introduction to Numerical Simulations with Python
Title
Programming for Computations – Python
Subtitle
A Gentle Introduction to Numerical Simulations with Python
Authors
Svein Linge
Hans Petter Langtangen
Publisher
Springer Open
Date
2016
Language
English
License
CC BY-NC 4.0
ISBN
978-3-319-32428-9
Size
17.8 x 25.4 cm
Pages
248
Keywords
Programmiersprache, Informatik, programming language, functional, imperative, object-oriented, reflective
Category
Informatik
Web-Books
Library
Privacy
Imprint
Austria-Forum
Austria-Forum
Web-Books
Programming for Computations – Python