Implemented duty factor and got plots for effect of constant duty factor