exhaustive

Algorithm for calculating definite integrals with bounds at infinity

Suppose I have an integral that's bounded on one (or both) end by (-)infinity. AFAICT, I can't analytically solve this problem, it takes brute force (e.g. using a Left Riemann Sum). I'm having trouble generalizing the algorithm so that it sets the proper subdivisions; I'll either do far too much work to calculate something trivial, or ...

PHP Memory exhausted

Any ideas why I'm getting .... Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9792 bytes) in /home/frich/public_html/creation/systemc/sMain/upload_image.php on line 77 on the following line $oldImage = imagecreatefromjpeg($img); The php grabs an image from a HTML form and resizes it. Wor...