plot ((n*(n+1))/2)+n+3 and n^2 from 0 to 5