Solving for the value of an unknown variable