=2a2+4ab.
(2)当a=-1,b=2时,
2a2+4ab=2×(-1)2+4×(-1)×2 =2-8 =-6.
24.解:(1)3A-2B+2
=3(2a2-a)-2(-5a+1)+2 =6a2-3a+10a-2+2 =6a2+7a.
1?1?2?1??-2?+7×?-2?=-2. (2)当a=-2时,3A-2B+2=6×
????
25.解:(5a2+2a-1)-2(a+a2)=5a2+2a-1-2a-2a2=3a2-1,
因为a2-1=0,所以a2=1,所以原式=3×1-1=2.
26.解:a+(a+m)+(a+2m)+(a+3m)+…+(a+100m)
=101a+(m+2m+3m+…+100m)
=101a+(m+100m)+(2m+99m)+(3m+98m)+…+(50m+51m) =101a+101m×50 =101a+5 050m.