@Override
    public Double call() throws Exception {        
        double result = 0.0;
        int arg = 0;
        
        for (arg = startValue; arg <= endValue; arg += step) {
            result += Math.sin(arg);
        }
        
        return result;
    }