plot n*n/8 vs n*log(n) from 1 to 1000