syms x b

%

diff(cos(x^b)^(1/b), x)

%

int(cos(x) * exp(x), x)

%

int(cos(x) * exp(x), x, 0, b^2)