Questions tagged [simpsons-rule]

It is an arithmetical rule for estimating the area under a curve where the values of an odd number of ordinates, including those at each end, are known.

63 questions
0
votes
0 answers

Java- What is the preferred method for numerical integration?

What is the preferred method for solving problems through numerical integration? The specific function I am looking to perform numerical integration on is integral_0^infinity (sin(s tan^(-1)(t)))/((1+t^2)^(s/2) (e^(pi t)+1)) dt Writing this in…
-1
votes
1 answer

Simpson Integration to Python : Can't get the output as expected

I have already implement this even() & simpson(), but can't get the desired output. Secondly getting error ([lambda x:1/x, 1, 11, 6]]) ZeroDivisionError: division by zero, can't understand this error import math import matplotlib import…
Raza
  • 19
  • 4
-2
votes
1 answer

Simpson's rule Python + Plotting Graph

anyone could help to solve this problem, so, i have the mathematical expression (shown in the picture below), the limit of integration for b is set in the range from 0 to 1, because the variation of b value, then the value of c(resut of integral)…
1 2 3 4
5