设f(x)=ax三次方+3x二次方+2,f(-1)=4,则a等于?