Triangular area under curve