Numerical Integration
Find a formula of the form \[ \int _0^{2\pi } f(x)\,dx = A_1 f(0)+A_2 f(\pi ) \] that is exact for any function having the form \[ f(x)=c+d\cos (x). \]
Question
Fall 2015 • Question 1
Numerical Integration
Find a formula of the form \[ \int _0^{2\pi } f(x)\,dx = A_1 f(0)+A_2 f(\pi ) \] that is exact for any function having the form \[ f(x)=c+d\cos (x). \]