for such questions take log both sides and than proceed by breaking rhs into more simpler parts which will be log(cosx)/(1/cosx) again in indeterminate form so differentiate both numerator and denominator and than put the value of lim x->pie/2 .
it will get reduced log y=0
y= e^0 = 1 answer...