This triangle is actually outdated -- any change you can change your code to use the same triangle code as the law_of_cosines exercise?