Implement the motor and accompanying rotary sensor into a motor control circuit in both hardware and software ... and how to optimize data in these curves based on electrical resistance, inductance, ...