Arrange the following steps in the correct sequence for a basic mechatronic system:
(A) Process the data in a micro-controller or processor
(B) Generate a physical output using actuators
(C) Sense input from the environment using sensors
(D) Convert the output to a desired form (mechanical, electrical, etc.)
Choose the correct answer from the options given below: