apply_derivT