plot 150*n*log(n) and n^2 from 0 to 1500