Functions
Formulas are a convenient way to evaluate a function for several inputs. Evaluate the three functions f, g, and h.
- In the A column, generate a sequence of inputs from -10 to 10. This should reach row 22.
- In the B column, evaluate \[f(x)=3x+2\] for each input \(x\).
- In the C column, evaluate \[g(x)=\sin(x)\] for each input \(x\).
- In the D column, evaluate \[h(x)=\text{abs}(x)\] for each input \(x\).
The function
abs()
is absolute value. You should end up with four columns that start like this:
