Use gnuplot or some other plotting package to plot Amdahl's law for different values of P. Note that a varies from 0 to 1, i.e. from completely sequential to completely parallel.