由韦达定理得:A+B=-3,AB=1,
由原方程得:
A²+3A+1=0,
∴A²=-3A-1,
∴A³=-3A²-A,
∴A³+8B+20
=-3A²-A+8B+20
=-3﹙-3A-1﹚-A+8B+20
=8﹙A+B﹚+23
=8×﹙-3﹚+23
=-1
由韦达定理得:A+B=-3,AB=1,
由原方程得:
A²+3A+1=0,
∴A²=-3A-1,
∴A³=-3A²-A,
∴A³+8B+20
=-3A²-A+8B+20
=-3﹙-3A-1﹚-A+8B+20
=8﹙A+B﹚+23
=8×﹙-3﹚+23
=-1