롬버그 적분(점화표)
유한 구간 (a, b)의 적분을 롬버그 적분법으로 계산하고, 점화표를 구합니다.
롬버그 적분의 계산 과정이 되는, 리처드슨 외삽법을 적용한 롬버그 점화표를 작성합니다.
마지막 대각 요소가 구하고자 하는 적분값의 최적 해가 됩니다.
마지막 대각 요소가 구하고자 하는 적분값의 최적 해가 됩니다.
| \(I={\large\int_a^{b}}f(x)dx=R_{\small n}^{\small\ k}+O((\frac{b-a}{2^n})^{\small 2k+2})\\ \hspace{10px} R_{\small 0}^{\small\ 0}\\ \hspace{10px} R_{\small 1}^{\small\ 0}\hspace{30px} R_{\small 1}^{\small\ 1}\\ \hspace{10px} \cdots\hspace{40px} \cdots\hspace{30px} \ddots \\ \hspace{10px} R_{\small n-1}^{\small\ 0}\hspace{15px} R_{\small n-1}^{\small\ 1}\hspace{15px} \cdots \hspace{10px} R_{\small n-1}^{\small\ n-1}\\ \hspace{10px} R_{\small n}^{\small\ 0}\hspace{30px} R_{\small n}^{\small\ 1}\hspace{30px} \cdots \hspace{10px} R_{\small n}^{\small\ n-1}\hspace{20px} R_{\small n}^{\small\ n}\\ \) |
롬베르그 적분은 n가 증가함에 따라 적분값이 수렴해 갑니다.
분할 횟수는 2, 4, 8, 16, ..., N=2n까지 두 배씩 늘려가며 계산합니다.
끝점이 해석적이지 않은 경우, 중점 법칙으로 구할 수 있습니다. 예: sin(x)/x, [0.π/2]
주기 함수의 경우, 비선형 변환을 통해 구할 수 있습니다. 예: (cos(64x))^2, [0, π]
분할 횟수는 2, 4, 8, 16, ..., N=2n까지 두 배씩 늘려가며 계산합니다.
끝점이 해석적이지 않은 경우, 중점 법칙으로 구할 수 있습니다. 예: sin(x)/x, [0.π/2]
주기 함수의 경우, 비선형 변환을 통해 구할 수 있습니다. 예: (cos(64x))^2, [0, π]
| \(\normalsize Romberg\ integration\\ (1)\ Trapezoidal\ rule\\ \hspace{10px} R_{\small 0}^{\small\ 0}= {\large\frac{h_0}{2}}\{f(a)+f(b)\}, \hspace{20px}h_0=b-a\\ \hspace{8px} R_{\small n}^{\small\ 0}= {\large\frac{R_{\small n-1}^{\small\ 0}}{2}}+h_n{\large \displaystyle \sum_{\tiny j=1}^{\small 2^{n-1}}}f(a+(2j-1)h_n)\\ \hspace{190px}h_n={\large\frac{b-a}{2^n}}\\ (2)\ Midpoint\ rule\\ \hspace{10px} R_{\small 0}^{\small\ 0}= h_0f(a+{\large\frac{h_0}{2}}),\hspace{20px}h_0=b-a\\ \hspace{10px} R_{\small n}^{\small\ 0}= h_n{\large \displaystyle \sum_{\tiny j=1}^{\small 2^n}}f(a+(j-\frac{1}{2})h_n), \hspace{15px}h_n={\large\frac{b-a}{2^n}}\\ (3)\ R_{\small n}^{\small\ k}= {\large\frac{4^{\small k} R_{\small n}^{\small\ k-1}-R_{\small n-1}^{\small\ k-1}}{4^{\small k}-1}}\\ (4)\ Relative\ Error\hspace{30px} \epsilon_{\small n}=\left|\frac{R_{\small n}^{\small\ n}-R_{\small n-1}^{\small\ n-1}}{R_{\small n}^{\small\ n}}\right|\\ Non-linear\ substitution\ in\ x\\ \hspace{25px} I={\large\int_a^{b}}f(x)dx\ ={\large\int_{\small-1}^{\small1}}f(x)\ \frac{b-a}{2}\ \frac{3(1-u^2)}{2}du\\ \hspace{100px}x=\frac{b-a}{2}t+\frac{b+a}{2},\hspace{20px}t=\frac{u}{2}(3-u^2)\) |
이 계산에 대한 고객 피드백이 아직 없습니다.