The Mathematica Journal
Volume 10, Issue 2


In This Issue
In and Out
Trott's Corner
Beyond Sudoku
New Products
New Publications
News Bulletins
New Resources

Download This Issue 

About the Journal
Editorial Policy
Staff and Contributors
Back Issues
Contact Information

In and Out
Edited by Paul Abbott


Q: The solution to the differential equation with is .

Solving the same equation numerically, I tried using the event function to find the extrema of .

How can I find those points where ?

A: Mark Sofroniou ( answers: An event is located when a change in sign in the event function is detected. For the function , the sign is practically always negative and the chance of hitting zero is infinitesimal.

You can construct an appropriate event function for extrema, where , by noting that . Then it is possible to use the Direction option to restrict the detection to points corresponding to a maximum.

About Mathematica | Download Mathematica Player 
© Wolfram Media, Inc. All rights reserved.