Draw a smooth curve according to an equation

How to draw a smooth curve according to an equation e.g.
y = y(x) = a*x/(1+(a-1)*x);