由已知有
α²+2α-7=0
β²+2β-7=0
α+β = -2
αβ = -7
∴ α²+3β²+4β = -2α+7+3(-2β+7)+4β
= -2(α+β) + 28
= -2×(-2) + 28
= 32