f(x)在x=-π/8时,取最大值或最小值
即f(-π/8)=±√[a^4+(a-2)^2]
√2/2[-a^2+(a-2)]=±√[a^4+(a-2)^2]
1/2[-a^2+(a-2)]^2 = a^4+(a-2)^2
a^2+a-2=0
a=1或a=-2
f(x)在x=-π/8时,取最大值或最小值
即f(-π/8)=±√[a^4+(a-2)^2]
√2/2[-a^2+(a-2)]=±√[a^4+(a-2)^2]
1/2[-a^2+(a-2)]^2 = a^4+(a-2)^2
a^2+a-2=0
a=1或a=-2