Funções constante, linear e afim