math-expert
math-expert copied to clipboard
Integration hangs
Sometimes when integration is unsolvable (even by other more advanced calculators) it just halts.
Possible solutions are:
- restricting the computational resources of the process
- adding a timeout (e.g. of 10 seconds) for the process
- creating an external watchdog for the management of the program flow
For reference:
- https://stackoverflow.com/questions/1359383/run-a-process-and-kill-it-if-it-doesnt-end-within-one-hour
- https://stackoverflow.com/questions/14920384/stop-code-after-time-period