Title: Residual Life Prediction and Optimal Maintenance Decision for a Piece of Equipment