Timeline for In NDSolve, how to involve in the odes a integration function that depends on ode functions and can't be analytically integrated?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 11, 2016 at 8:12 | vote | accept | xinxin guo | ||
Jun 10, 2016 at 13:28 | comment | added | user36273 | @Guo Xinxin it's all right! | |
Jun 10, 2016 at 13:25 | history | edited | user36273 | CC BY-SA 3.0 |
added 515 characters in body
|
Jun 10, 2016 at 12:56 | comment | added | xinxin guo |
@rewi, for example, if the integrand in my code is Sin[y1[t] y2[t] + Cos[r]]/(Cos[r] + 2) , then your code would fail.
|
|
Jun 10, 2016 at 12:43 | comment | added | xinxin guo |
@rewi thanks, but this not what I want, because if you meet a more complicated integrand, Integrate would run "forever", so your code would fail (I have tested this by changing the integrand). NIntegrate is a must for me.
|
|
Jun 10, 2016 at 12:22 | history | edited | user36273 | CC BY-SA 3.0 |
deleted 1 character in body
|
Jun 10, 2016 at 12:22 | comment | added | user36273 | @george2079 you are right, I edit it; thanks. | |
Jun 10, 2016 at 12:20 | comment | added | george2079 | no need for a delayed set ... | |
Jun 10, 2016 at 12:17 | history | answered | user36273 | CC BY-SA 3.0 |