This will enable to find the derivative of the particular function in question. At any given value of x and from the general expression of the slope of a curve, it is possible for a student to differentiate a function. The derivative of a trigonometric function can be found by using algebra. It is possible to show from the first principles that derivatives of tangent, cosine, and sine functions are given as d(tanx)/dx=sec2x, d(cosx)/dx=sinx, and d(sinx)/dx=cosx.