Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'probleme with eventLocator method' topicStudent Support Forum > General > Archives > "probleme with eventLocator method"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
05/29/12 7:19pm

In Response To 'Re: Re: probleme with eventLocator method'
---------
I don't know whether you can change the parameter u with EventAction.

When I use x[t] (x[t] - 4), I seem to get more events than with {x[t], x[t]-4}, but I get the same output graph.

I don't think I can help much -- sorry, but I have one last suggestion. Judging from the bouncing ball example in the documentation center, tutorial/NDSolveEventLocator, you would have to call NDSolve (with the new u) every time an event is encountered. You would be integrating from event to event. Then stitch all the results together. The bouncing ball example shows a way to do it.

Hope that helps.

URL: ,

Subject (listing for 'probleme with eventLocator method')
Author Date Posted
probleme with eventLocator method Lyna 05/21/12 04:48am
Re: probleme with eventLocator method Michael 05/25/12 3:30pm
Re: Re: probleme with eventLocator method Lyna 05/29/12 05:44am
Re: Re: Re: probleme with eventLocator method Michael 05/29/12 7:19pm
Re: probleme with eventLocator method Lyna 05/30/12 12:44pm
Re: Re: probleme with eventLocator method Michael 05/31/12 8:34pm
Re: Re: Re: probleme with eventLocator method Lyna 06/03/12 5:03pm
Re: Re: Re: Re: probleme with eventLocator method Michael 06/03/12 10:08pm
Re: Re: Re: Re: Re: probleme with eventLocator ... Lyna 06/07/12 09:08am
Re: Re: Re: Re: Re: Re: probleme with eventLoca... Michael 06/08/12 07:31am
Re: Re: Re: Re: Re: Re: Re: probleme with event... Lyna 06/10/12 06:26am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic