Group Abstract Group Abstract

Message Boards Message Boards

Cumulative definte integral makes kernel run slow

Posted 10 years ago
POSTED BY: Kaushik Mallick
5 Replies
Posted 10 years ago

That did it! Thanks a lot.

POSTED BY: Kaushik Mallick

Sorry, that should probably be

NMaxValue[ {vd[s], 0<=s<=Tp}, s]
POSTED BY: Gianluca Gorni
POSTED BY: Gianluca Gorni
Posted 10 years ago
POSTED BY: Kaushik Mallick

For cumulative integrals it may be convenient to use NDSolve instad of Integrate, at least if the interval is not too large:

Vd = NDSolveValue[{Vd[0] == 0, Vd'[s] == fd[s]}, Vd, {s, 0, Tp}];
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard