In 4th quadrant cos is positive.But on here you were written as in 4th quadrant cos is negative....

Krishnakumar T's image