Function: meaning, definitions and examples

⚙️
Add to dictionary

function

 

[ ˈfʌŋkʃən ]

Noun / Verb
Oxford 3000
Context #1 | Noun

computer programming

A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and allow you to break your program into smaller, more manageable pieces.

Synonyms

method, procedure, subroutine

Examples of usage

  • Example 1: In JavaScript, you can define a function using the 'function' keyword.
  • Example 2: The main advantage of using functions is that you can reuse the same code multiple times without rewriting it.
Context #2 | Noun

mathematics

In mathematics, a function is a relation between a set of inputs and a set of possible outputs where each input is related to exactly one output.

Synonyms

mapping, operation, transformation

Examples of usage

  • Example 1: The function f(x) = x^2 is a simple mathematical function that squares its input.
  • Example 2: Functions are used in calculus to describe how one quantity changes in relation to another.
Context #3 | Verb

general

To function means to work or operate in a particular way. It can also refer to the normal or proper working of something.

Synonyms

operate, perform, run

Examples of usage

  • Example 1: The machine stopped functioning properly after years of use.
  • Example 2: It is important for all parts of a team to function well together for success.

Translations

Translations of the word "function" in other languages:

🇵🇹 função

🇮🇳 कार्य

🇩🇪 Funktion

🇮🇩 fungsi

🇺🇦 функція

🇵🇱 funkcja

🇯🇵 機能 (きのう)

🇫🇷 fonction

🇪🇸 función

🇹🇷 işlev

🇰🇷 기능

🇸🇦 وظيفة

🇨🇿 funkce

🇸🇰 funkcia

🇨🇳 功能 (gōngnéng)

🇸🇮 funkcija

🇮🇸 virkni

🇰🇿 функция

🇬🇪 ფუნქცია

🇦🇿 funksiya

🇲🇽 función

Etymology

The word 'function' has its origin in the Latin word 'functio' which means performance or execution. It first appeared in English in the 16th century with the meaning of official or formal ceremony. Over time, it evolved to encompass the concept of a task or duty to be performed. In modern usage, 'function' is widely used in the fields of mathematics, computer programming, and general language to denote a specific action or operation.

Word Frequency Rank

With position #473, this word is vital for basic English fluency. It appears very frequently in everyday language and should be among the first words you learn and actively use.