Find an approximation of the following integral $$\int_{0}^{1}\frac{\sin\left(x\right)}{x}dx$$ With an error less than $10^{-5}$.
This is the first time I've been asked such a question and I don't know how to approximate a definite integral.
From the Taylor series of $\sin(x)$ I know that$$\sin(x)=\sum_{k\ge0}^{ }\frac{\left(-1\right)^{k}x^{2k+1}}{\left(2k+1\right)!}$$
And so for $x \ne 0$ we have that: $$\frac{\sin\left(x\right)}{x}=\sum_{k\ge0}^{ }\frac{\left(-1\right)^{k}x^{2k}}{\left(2k+1\right)!}$$
From here:
$$\int_{0}^{1}\frac{\sin\left(x\right)}{x}=\int_{0}^{1}\sum_{k\ge0}^{ }\frac{\left(-1\right)^{k}x^{2k}}{\left(2k+1\right)!}dx$$
Since $$\int_{0}^{1}\sum_{k\ge0}^{ }\left|\frac{\left(-1\right)^{k}x^{2k}}{\left(2k+1\right)!}\right|dx<\infty$$ So :
$$\int_{0}^{1}\frac{\sin\left(x\right)}{x}=\sum_{k\ge0}^{ }\frac{\left(-1\right)^{k}}{\left(2k+1\right)!}\int_{0}^{1}x^{2k}dx=\sum_{k\ge0}^{ }\frac{\left(-1\right)^{k}}{\left(2k+1\right)!\left(2k+1\right)}\le\sum_{k\ge0}^{ }\frac{\left(-1\right)^{k}}{\left(2k+1\right)!}=\sin\left(1\right)=0.841470984808$$
That was all I knew, but still I can't find the approximatin