The limit is given as,
limx→1cosπ2x1−x
=00
This gives the indeterminate form, therefore, differentiating the given limit with respect to x, (Using L'hospital rule)
limx→1−sinπ2x−1
=1