# How do you evaluate z-w+y if w=6, x=4, y=-2, z=6?

Jun 6, 2017

#### Answer:

See a solution process below:

#### Explanation:

The $x$ valuable is not in the expression and is therefore extraneous and does not need to be considered in the solution.

We can then substitute:

$\textcolor{red}{6}$ for $\textcolor{red}{w}$

$\textcolor{b l u e}{- 2}$ for $\textcolor{b l u e}{y}$

$\textcolor{g r e e n}{6}$ for $\textcolor{g r e e n}{z}$

in the expression and calculate the result:

$\textcolor{g r e e n}{z} - \textcolor{red}{w} + \textcolor{b l u e}{y}$ becomes:

$\textcolor{g r e e n}{6} - \textcolor{red}{6} + \textcolor{b l u e}{- 2} \implies$

$0 + \textcolor{b l u e}{- 2} \implies$

$- 2$