Numerical calculation method and example of fatigue analysis