function integrali_definiti(caso)

syms x;
syms S;
format long

switch caso
    case 1
        int(1/(sin(x-3)),2,3)
    case 2
        int(1/(exp(x)-1),0,1)
    case 3
        int(1/(exp(sqrt(x))-1),0,1)
    case 4
        int(1/(x^2-4)^(1/3),2,3);
    case 5
        int((abs(x)+sin(x))/(1+x^2),-1,1)
        fs='(abs(x)+sin(x))./(1+x.^2)';

        f=inline(fs);
        Q = quadl(f,-1,1,10^(-15))
    case 6
        int(abs(x^2+2*x-3),0,2)
        fs='abs(x.^2+2*x-3)';

        f=inline(fs);
        Q = quadl(f,0,2,10^(-15))
        
end
   