function
//ˈfʌŋkʃən//
Noun
functionSingular
functionsPlural
1
The purpose or role that something is designed or expected to perform.
The main function of the heart is to pump blood throughout the body.
2
A social event or formal ceremony.
She attended a formal function at the embassy.
3
A mathematical relationship where each input has exactly one output.
In mathematics, y = 2x is a simple function.
4
A section of code in a computer program that performs a specific task.
The programmer wrote a function to calculate the total price.
Verb
1
To work or operate in a proper or particular way.
The machine is not functioning properly.