The function can be written:
So the area under the curve is given by: