I understand that if you have a function in which you want to determine the full (i.e. account for positive and negative values) integral you need to break down your limits into separate intervals accordingly. Is there any way in which you can avoid this or is it mathematically impossible? If so, can someone explain to me why you can't? I thought about trying to incorporate a rectified sine wave (abs(sinx) as an alternative but is such a function applicable/usable (is it even considered continuous)? How do you represent and integrate such a function algebraically? Thanks.