What is Computation?

<aside> đź’ˇ A computation is a set of instructions to complete a particular task

</aside>

(Many tasks are mathematical!)

Programming language design:

Imperative: based on frequent changes to data

functional: based on the computation of new values rather than the transformation of old ones.


Racket:

Values → number or other mathematical objects

Expressions → combine values with operators and functions

Functions → Generalize similar expressions

Functions in mathematics:

f(x) = x^2, g(x, y) = x + y

these definitions consist of: