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