由韦达定理得
x1+x2=3,x1*x2=3/2
则x1²+x2²=(x1+x2)²-2x1*x2=9-3=6
x1³+x2³=(x1+x2)(x1²-x1*x2+x2²)
=3[(x1+x2)²-3x1*x2]
=3*(9-9/2)
=27/2