Frequency analysis of a crankshaft