xM=max({xA,xB})[br]xm=min({xA,xB})[br]m=(yB-yA)/(xB-xA)[br]Birampas Crecientes[br]f(x)=(m/2)*[|x-xm|-|x-xM|]+[(ym+yM)/2][br]f(x)=(-m/2)*[|x-xM|-|x-xm|]+[(ym+yM)/2][br][br]Birampas Decrecientes[br]g(x)=(m/2)*[|x-xM|-|x-xm|]+[(ym+yM)/2][br]g(x)=(-m/2)*[|x-xm|-|x-xM|]+[(ym+yM)/2]