zhermes
Reputation
233
Next privilege 250 Rep.
 Mar21 awarded Notable Question Feb12 accepted What is the etymology of 'sinc function'? Feb8 comment Numerical integration with divergent bounds @Ian, you were right! Chebyshev-Gauss quadrature does seem to work fine. For posterity, scipy's integrate.quad Feb7 comment Numerical integration with divergent bounds Thanks, g(x) is definitely non-negative throughout the domain of interest. I'll try to play around with the guassian quadrature some more! Feb7 comment Numerical integration with divergent bounds @Ian, there's no analytic version of the function [$g(x)$ is based on data]. But for physical reasons, the integral between these bounds must be well defined. Feb7 awarded Commentator Feb7 comment Numerical integration with divergent bounds Thanks @Ian, that's a very helpful hint. I'm not sure the order of divergence. Is there a numerical way to find out?The scipy package's built-in Gaussian quadrature method fails for my function, so I assume Chebyshev polynomials (which I think it uses?) in particular don't work. Feb7 revised Numerical integration with divergent bounds added 417 characters in body Feb7 comment Numerical integration with divergent bounds Thanks! But I don't have an analytic expression for my function, it is purely numeric. I will amend my question to explain better. Feb7 comment Numerical integration with divergent bounds @imranfat thats basically what I've already said. But, for the simplest numerical methods, you must evaluate your function at (or near) your endpoints to evaluate the integral. Feb7 revised Numerical integration with divergent bounds added 571 characters in body Feb7 comment Numerical integration with divergent bounds Thanks, that's what I tried first --- but as I make the poorly-behaved regions smaller, the difference between left and right reimann sums diverges... so I still wasn't getting a good approximation Feb7 asked Numerical integration with divergent bounds Jan16 awarded Notable Question Jan6 awarded Yearling Nov17 awarded Critic Sep24 awarded Autobiographer Jul2 awarded Curious Apr30 comment mental math: approximating fractional exponents Thanks! Can you explain briefly how you're constructing $f(x)$? Apr30 comment mental math: approximating fractional exponents Thanks! Can you remind me of the generalized form for binomials?