  Matlab Database > Ordinary Differential Equations > Coulomb ODE

### Matlab File(s)

 Title: Coulomb ODE Author: Andreas Klimke E-Mail: andreasklimke-AT-gmx.de Institution: Technische Universitðt M■nchen Description: This example for an ODE deals with a spring-mass-system attached to a wall with the object gliding over a rough surface. see Ritger/Rose: Differential Equations with Applications, P. 327 The rough surface exerts a force f opposing the motion which is constant (Coulomb friction): ``` f(x') = { +r if x'>0 { -r if x'<0 ``` x is the displacement from equilibrium, x' is the velocity. k is the spring constant, m is the mass. ``` ODE : m*x'' = -k*x + f(x') ``` The system is solved with a variable step size sover based on the classical Runge-Kutta method of order 4. It is an implementation of a simple solver with step size control written for teaching purposes. For more details on the solver, use 'help myode4' Keywords: ODE, Coulomb, friction File Name: coulomb.zip File Size: 4 KB File Version: 1.0 Matlab Version: 6.1 Date: 2002-07-17 Downloads: 2592 Download File  © Technische Universität München 2011 | Disclaimer | Impressum Rechtshinweise