Quadratic equations all around us

Equations like the following are said to be linear:

y = x + 2

This is because all the variables are to the power of one. 

Given the x values of -4 to 2, we can easily calculate the y values, as follows:

If we were to input every possible x value (including those with decimals like 0.1, 0.11, 0.12, and so on), we'd get a straight line. We can say that the domain is the set of all possible x values and the range is the set of all possible y values. Note that any non-vertical or non-horizontal line is a function with its domain and range consisting of all real numbers.

It's easy to see that our preceding f(x) ...

Get Learning Functional Programming in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.