Post Reply 
Numerical integration vs. integrals that are zero
03-06-2019, 06:54 PM (This post was last modified: 03-07-2019 12:49 AM by Albert Chan.)
Post: #13
RE: Numerical integration vs. integrals that are zero
Hi, ijabbott

Transformation is actually a bit more involved, not just x, but dx too

x = (a+b)/2 + (b-a)/2 * (3u/2 - u³/2)

dx = 3/4 * (b-a) * (1 - u²) du


With a=0, b=2*Pi, after simplication, we got:

integrate(sin(x), x = 0 to 2*Pi) = integrate(3/2 pi (1-u^2) * sin(pi/2 u(u^2-3)), u = -1 to 1) = 0

integrate(sin(x), x = 0° to 360°) = 180/Pi * 0 = 0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Numerical integration vs. integrals that are zero - Albert Chan - 03-06-2019 06:54 PM



User(s) browsing this thread: 1 Guest(s)