定積分與廣義積分計算器
逐步計算定積分與瑕積分
此計算器將嘗試計算定積分(即帶有上下限的積分),包含廣義積分,並顯示步驟。
Solution
Your input: calculate $$$\int_{0}^{\pi}\left( \sin{\left(\theta \right)} \right)d\theta$$$
First, calculate the corresponding indefinite integral: $$$\int{\sin{\left(\theta \right)} d \theta}=- \cos{\left(\theta \right)}$$$ (for steps, see indefinite integral calculator)
According to the Fundamental Theorem of Calculus, $$$\int_a^b F(x) dx=f(b)-f(a)$$$, so just evaluate the integral at the endpoints, and that's the answer.
$$$\left(- \cos{\left(\theta \right)}\right)|_{\left(\theta=\pi\right)}=1$$$
$$$\left(- \cos{\left(\theta \right)}\right)|_{\left(\theta=0\right)}=-1$$$
$$$\int_{0}^{\pi}\left( \sin{\left(\theta \right)} \right)d\theta=\left(- \cos{\left(\theta \right)}\right)|_{\left(\theta=\pi\right)}-\left(- \cos{\left(\theta \right)}\right)|_{\left(\theta=0\right)}=2$$$
Answer: $$$\int_{0}^{\pi}\left( \sin{\left(\theta \right)} \right)d\theta=2$$$