1/t0*[integrate [-2A/t0*t, {t, -t0/2, 0}] +integrate [2A/t0*t, {t, 0, t0/2}]