Write the value of limx→π22x−πcosx.
limx→π22x−πcosx.=limx→02(π2−x)−πcos(π2−x)=limx→0−2xsinx=limx→x22x−πcosx=−2