It works on me!!!
But you need to ensure
sin[x] is Sin[x] in the captial letter of sin[x].
It is S not s in sin[x]