How do you differentiate #sqrt(sin^2(1/x) # using the chain rule?