How do you find the derivative of g(t)=picost?