Matlab Database > Ordinary Differential Equations > Coulomb ODE

Matlab File(s)

Title: Coulomb ODE
Author: Andreas Klimke
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:
File Size: 4 KB
File Version: 1.0
Matlab Version: 6.1
Date: 2002-07-17
Downloads: 2592
Download File

Upload your own files today! Click here for more information.