Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
What is New in Mathematica 5.1 Products
-----
 /
Mathematica
*String Manipulation
*DatabaseLink
*Binary Data I/O
*Additional Import/Export Formats
*Web Services
*Large-Scale Graph Layout
*Array Plotting
*Enhanced Linear Algebra Performance
*Piecewise
*Integration over Regions
<Event Handling
*Symbolic Differential Equations
*Cluster Analysis
*EquationTrekker
*MathematicaMark2004
*GUIKit
*Summary of Features
*Ask about this page
PreviousNext

Event Handling in Differential Equations

See What's New in Wolfram Mathematica 6

Event detection is new to NDSolve--Mathematica's all-in-one numerical differential equation solver.

NDSolve now has a uniquely flexible framework for event detection and handling--that allows differential equations to be solved differently in different regions, with boundaries between regions determined dynamically by features of the solutions obtained.

Typical applications include:

  • Modeling hybrid systems with physical constraints where the event triggers swapping between different regimes
  • Solving only until some logical or functional condition is satisfied
  • Continuing a solution until a key is pressed or another external event takes place
  • Collecting samples of solutions at particular events, or for Poincaré sections




More Details

 Get complete example
Example: Bouncing Ball

The following animation shows a ball bouncing down a nonlinear slope (a hybrid system). When the ball hits the slope, NDSolve automatically stops the computation, resets the conditions for bouncing off, and restarts. Detected events have occurred at the gray spots in the plot.


Related Links

Tutorials from The Mathematica Book Tutorials from The Mathematica Book
Numerical Solution of Differential Equations
   
Built-In Functions Reference Guide  Built-In Functions Reference Guide
NDSolve
   
In-Depth Advanced Documentation  In-Depth Advanced Documentation
ODE Integration Methods
NDSolve
  
Additional Information  Additional Information
Technical Presentation: Differential Equations and Events


Back to Top PreviousNext



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja]