plot graph of 500n=1xn1+xnn  for x from 0 to 2