# How do you make a table to graph  f(x) = 2 - e ^ (x / 2)?

Mar 26, 2016

See below

#### Explanation:

Set a $n \times 2$ or 2xxn table with column 1 for $x$ and column 2 $f \left(x\right)$ Then for every value of x evaluate $f \left(x\right) = 2 - {e}^{\frac{X}{2}}$
For example for when

$x = 0$ then $f \left(x\right) = 2 - {e}^{0} = 1$
$x = 1$ then $f \left(x\right) = 2 - {e}^{1} / 2 \approx .351$
$x = 1$ then $f \left(x\right) = 2 - {e}^{1} \approx - .718$
$\vdots$

$\left[\begin{matrix}x \\ 0 \\ 1 \\ 2 \\ 3 \\ 4 \\ 5\end{matrix}\right] \left[\begin{matrix}f \left(x\right) \\ 1 \\ .351 \\ - .718 \\ 2 - {e}^{\frac{3}{2}} \\ 2 - {e}^{2} \\ 2 - {e}^{5}\end{matrix}\right]$

$\left[\begin{matrix}x & 0 & 1 & 2 & 3 & 4 & \cdots \\ f \left(x\right) & 1 & 2 - {e}^{\frac{1}{2}} & 2 - e & 2 - {e}^{\frac{3}{2}} & 2 - {e}^{2} & \cdots\end{matrix}\right]$

I tried to show you this primitive vertical and horizontal tables, best way to make a table to graph may be microsoft excel or google docs.
Try it...