plot N^2 and ((N^2)/2 + N) and ((N^2)/4 + 2N) from 0 to 10