f(x)=lntanx
f'(x)=(1/tanx)*(secx)^2
=(1/tanx)*[1+(tanx)^2]
=[1+(tanx)^2]/tanx
=0.5cos(2x)
f'(tanx)=0.5cos(2tanx)