答案:S=2n^2-10n+20[读作:s等于2倍的n的平方,减10n,再加20]
设S=an^2+bn+c,将点(2,8),(3,8),(4,12)带入,得三个方程,联立成方程组,解出a,b,c的值即可.