values for a, b and r