Prediction of crack depth and position in vibrating beams using artificial neural networks