Ver originalvar num = (val1-val2) /((1- Math.pow((1+val4),-val3 ))/val4);// óvar num = (val1-val2)*val4/(1- Math.pow((1+val4),-val3 ));