lim (x--pi/2) (pi-2x)^cosx
if x --> π/2 , then cosπ/2 ---> 0
anything^0 = 1
so lim (π - 2x)^cosx , as x--->π/2
However, pi-2x->0 as well, and 0^0 is undefined
Haven't figured out yet the proof. L'Hospital's Rule seems not to help much, taking logs.