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

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Lyna
06/03/12 5:03pm

In Response To 'Re: Re: probleme with eventLocator method'
---------
Hello All,

Thank you for your answer it really help me very much. but as i see the event locator method doesn't give the appropriate result. so i decided to use it deifferently.

i have defined 2 couples of equations (aller, et retour). i evaluate the event for eah way then i combine the two results.

my problem is that in the resolution of the ndsolve from event to event.

in each event i have an internal variation of a variable parameter "p" .

i didn't have the way to embeded two loops of while.


p = {1, 1.1};
While[p[[2]] < 1.2, z = zt[p[[2]], p[[1]], t0];
ss = Block[{tf = 0, xf = 0, yf = 0, dxf = 0},
Reap[
While[tf < 10, Sow[sol[p, tf, xf, yf, dxf]]]][[2, 1]];
p = {p[[2]], p[[2]] + z};
]]
the mathematica kernel shut down and doesn't give any rsult.

other problem is how to delete the vertical lines of piecewise.

Any suggestions
Thanks in advance
Regards

Attachment: aller retour with P.nb, 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