derive lin coef