rightRectIntegration(@fermiDirac,-1,1,1000000) ans = 0.999998006023282