evaluate rectangle's height with diagonal = 2, base = 1