def METHOD_NAME(writer, initial_temperature, ambient_temperature, heat_coefficient):
    """Run a temperature simulation.
    This will simulate an object at temperature `initial_temperature`
    sitting at rest in a large room at temperature `ambient_temperature`.
    The object has some intrinsic `heat_coefficient`, which indicates
    how much thermal conductivity it has: for instance, metals have high
    thermal conductivity, while the thermal conductivity of water is low.
    Over time, the object's temperature will adjust to match the
    temperature of its environment. We'll track the object's temperature,
    how far it is from the room's temperature, and how much it changes at
    each time step.
    Arguments:
      writer: tf.summary.SummaryWriter; summary writer object
      initial_temperature: float; the object's initial temperature
      ambient_temperature: float; the temperature of the enclosing room
      heat_coefficient: float; a measure of the object's thermal
        conductivity
    """
    tf.random.set_seed(0)
    temp = tf.Variable(initial_temperature)
    for step in tf.range(STEPS, dtype=tf.int64):
        one_step(writer, temp, ambient_temperature, heat_coefficient, step)