ADAPTIVE CONTROL OF UNDERACTUATED MECHANICAL SYSTEMS