This is of the form 0/0 and so can be done by using L'Hopital's rule. However taking the derivative of this is going to be long and susceptible to errors. What I would suggest is that we replace the sine, inverse tangent, and natural log functions with their Taylor expansions for x near 0:

So

=

=

=

=

-Dan