Funkcja (łac.
function-,
functio, „wykonanie”, od
fungi, „wykonać, wypełnić, zwolnić”; być może spokr. z
sanskr. bhuṅkte भुङ्क्ते, „używa, cieszy się, posiada”) – wyraz mogący oznaczać jedno z następujących pojęć:
- funkcja – w matematyce: szczególna relacja między elementami dwóch zbiorów;
- funkcja – w inżynierii: własność związana zastosowaniem, przeznaczeniem lub zadaniem obiektu, urządzenia lub osoby;
- funkcja – w muzyce: rola akordu w kontekście harmonicznym;
- funkcja – w informatyce: wydzielona część programu (również: procedura, podprogram).