Expert Systems for Diagnosis in Engineering Application