S=(a+(a+c)/2)*v/2-((a+c)/2+c)*v/2