code: def set_pace(self, power):
      fatigue_factor = 1 - (0.01 * self.fatigue_level)
  
      delta_ke = (
          (power * self.mechanical_efficiency * fatigue_factor)
          - (
              self.coefficient_drag_area
              * 0.5
              * self.event.air_density
              * math.pow(self.current_velocity, 3)
          )
          - (
              teampursuit.friction_coefficient
              * (self.weight + self.bike_mass)
              * teampursuit.gravitational_acceleration
              * self.current_velocity
          )
      ) * teampursuit.time_step
  
      new_velocity = math.pow(
          (
              (2 * delta_ke / (self.weight + self.bike_mass))
              + math.pow(self.current_velocity, 2)
          ),
          0.5,
      )
      acceleration = new_velocity - self.current_velocity
      distance = (self.current_velocity * teampursuit.time_step) + (
          0.5 * acceleration * math.pow(teampursuit.time_step, 2)
      )
  
      self.current_velocity = new_velocity
  
      if self.remaining_energy > power * teampursuit.time_step:
          self.remaining_energy -= power * teampursuit.time_step
      else:
          self.remaining_energy = 0.0
  
      return distance
  
imports: from .teampursuit import teampursuit
  import math
label_desc: Use image node_id 2 for calling the Cyclist obj's underlying member method code with example usage: obj.set_pace(power) and returns: distance