<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_pulse_width_range(self, min_pulse=750, max_pulse=2250):
 """Change min and max pulse widths."""

        self._min_duty = int((min_pulse * self._pwm_out.frequency) / 1000000 * 0xffff)
        max_duty = (max_pulse * self._pwm_out.frequency) / 1000000 * 0xffff
        self._duty_range = int(max_duty - self._min_duty)