Solve for T and differentiate, using the chain rule. Your answer ought to depend on v, right?