capacity vs function

capacity

noun
  • The ability to hold, receive, or absorb 

  • A measure of such ability; volume 

  • The maximum amount that can be held 

  • Electrical capacitance. 

  • Mental ability; the power to learn 

  • Legal authority (to make an arrest for example) 

  • The maximum that can be produced. 

  • The maximum that can be produced on a machine or in a facility or group. 

  • A role; the position in which one functions 

  • Capability; the ability to perform some task 

  • A faculty; the potential for growth and development 

adj
  • Filling the allotted space. 

function

noun
  • The physiological activity of an organ or body part. 

  • What something does or is used for. 

  • A routine that receives zero or more arguments and may return a result. 

  • The role of a social practice in the continued existence of the group. 

  • An official or social occasion. 

  • A party. 

  • The characteristic behavior of a chemical compound. 

  • A relation in which each element of the domain is associated with exactly one element of the codomain. 

  • A professional or official position. 

  • A relation where one thing is dependent on another for its existence, value, or significance. 

  • Something which is dependent on or stems from another thing; a result or concomitant. 

verb
  • To have a function. 

  • To carry out a function; to be in action. 

How often have the words capacity and function occurred in a corpus of books? (source: Google Ngram Viewer )