Problem solving exponential function on Matlab: integral exp(x^b) dx, b is constant

ignacio28

New member
Joined
May 1, 2018
Messages
3
Hi,

I'm trying to get the analytic solution of the integral:

exp(x^b)dx

x: variable
b: constant

but when I try

syms x
beta=input('beta value: ');
f=exp(-(x)^beta);
int(f)

on matlab it gives me the same expression as a result of the integration

>> int1
beta value: 1.239

ans =

int(exp(-x^(1239/1000)), x)

Any idea on how to get the analytic solution of that function? (Or why I'm not getting it).

wolframalpha.com gives me this solution:

integral exp(-x^b) dx = -(x (x^b)^(-1/b) Γ(1/b, x^b))/b + constant
where gamma is the incomplete gamma function.

Thanks
 
Top