law of machine