Question: How to do this,let i^2=-1working in i^4

z1 := -3*i*(2+i)*(3+2*i)*(1+4*i)

zz1 := expand(z1)

zz1 := -18*i-93*i^2-90*i^3-24*i^4

(3)  subs(i^2 = -1, i^3 = -i, i^4 = 1, zz1)=72*i+69

(4)  subs(i^2 = -1, zz1)=-18*i+93-90*i^3-24*i^4    

I don't like the way in (3) to get my answer.Are there some easy ways?

 

Please Wait...