<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to(self, unit):
 """Convert to a given unit. Parameters unit : str Name of the unit to convert to. Returns ------- u : Unit new Unit object with the requested unit and computed value. """

        u = Unit("0cm")
        u.value = self.value/self.per_inch[self.unit]*self.per_inch[unit]
        u.unit = unit
        return u