Studied triangle functions.