y'=cosx-sinx;
y'=0 =>x=π/4 5*π/4;
x=π/4时,y=跟2(极大值)
x=5*π/4, y=-根2(极小值)
2 y'=sinx
y'=0 =>x=0 π 2π
x=0,y=-1/2(极小值)
x=π,y=3/2(极大值)
x=2π,y=-1/2
y'=cosx-sinx;
y'=0 =>x=π/4 5*π/4;
x=π/4时,y=跟2(极大值)
x=5*π/4, y=-根2(极小值)
2 y'=sinx
y'=0 =>x=0 π 2π
x=0,y=-1/2(极小值)
x=π,y=3/2(极大值)
x=2π,y=-1/2