• + 0 comments
    int n = 100;
    double meanN = 500;
    double stdDevN = 80;
    double z = 1.96;
    
    double stdDev = stdDevN / Math.sqrt(n);
    double delta = z * stdDev;
    
    print(meanN - delta);
    print(meanN + delta);