You are on page 1of 2

𝑋2

1. ∫ 𝑑𝑋
𝑋 4 + 2𝑋 3 + 2𝑋 2 + 2𝑋 + 1
clear
clc
syms x
I=int((x^2)/(x^4+2*x^3+2*x^2+2*x+1))

I =

log(x^2 + 1)/4 - log(x + 1)/2 - 1/(2*(x + 1))

𝜋/2
2. ∫ (cos 3𝑥 − 2 cos 𝑥)2 𝑑𝑥
0

syms x
I2=int((cos(3*x)-2*cos(x))^2,0,(pi/2))

I2 =

(5*pi)/4

√𝑥 2 − 9
3. ∫ 𝑑𝑥
𝑥
syms x
int((sqrt((x^2)-9))/2)

ans =

(x*(x^2 - 9)^(1/2))/4 - (9*log(x + (x^2 - 9)^(1/2)))/4


2−𝑥
4. ∫ 𝑑𝑥
2
√−𝑥 − 10𝑥 − 21

sqrt x
int((2-x)/sqrt(-x^(2)-10*x-21))

You might also like