y=f(x)与x轴依次交于(m,0),(n,0),(p,0),求(1)若f(x)为奇函数,求m+p(2)若f(x)关于直