Update Ch02_CalculateFailureFunction.cpp