Relation Between Gain And Function