The Python Oracle

Can someone explain why scipy.integrate.quad gives different results for equally long ranges while integrating sin(X)?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island Looping

--

Chapters
00:00 Question
02:33 Accepted answer (Score 10)
03:47 Answer 2 (Score 6)
04:25 Answer 3 (Score 6)
04:45 Answer 4 (Score 4)
05:27 Thank you

--

Full question
https://stackoverflow.com/questions/5811...

Answer 1 links:
["What Every Computer Scientist Should Know About Floating Point Arithmetic".]: http://www.physics.ohio-state.edu/~dws/g...

Answer 2 links:
[scipy discussion board]: http://www.nabble.com/Scipy-User-f33045....

Answer 3 links:
[Arc length]: http://en.wikipedia.org/wiki/Arclength

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #integration #scipy #numericalmethods

#avk47