2013-08-22 07:53:21+00:00 In reply to @pelagikat @hornmaths glad you got it sorted. Alternately, if you were using the product rule, d/dx of cos(y) is 0, not 1.