奇函数f(x)定义在R上,当x>0时,f(x)=-x^2+2x (1)求f(x)(2)若x∈[a,b]