y=-acos2x-√3asin2x+2a+b
= -asin(2x+π/6)+2a+b
x属于[0,π/2],
2x+π/6属于[π/6,7π/6],
-a/2+2a+b=-5
-a+2a+b=1
解得
a=-12,b=13