differentiate from first principles sinx