
function esame_syms(numero)

if nargin < 1
    numero=1;
end

syms x

switch numero
    case 1
        fprintf('\n \t DERIVATE')
        subnumero=3;
        switch subnumero
            case 1
                simplify(diff((x+2)*exp(3*x)))
                simplify(diff((x+2)*exp(3*x),2))
            case 2
                simplify(diff((x-1)*exp(2*x)))
                simplify(diff((x-1)*exp(2*x),2))
            case 3
                simplify(diff((x-2)*exp(3*x)))
                simplify(diff((x-2)*exp(3*x),2))
        end
    case 2
        fprintf('\n \t INTEGRALI')
        subnumero=3;
        switch subnumero
            case 1
                simplify(int(x^2*sin(x+1)))
            case 2
                simplify(int(x^2*cos(x+1)))
            case 3
                simplify(int(x^2*sin(x+3)))
        end
end