18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Analyzing Data Using Goal Seek and Solver 37<br />

ON the CD-ROM<br />

This workbook, named linear equations.xlsx, is available on the companion CD-ROM.<br />

The three equations are represented by formulas in the range B6:B8:<br />

n B6: =(4*x)+(y)-(2*z)<br />

n B7: =(2*x)-(3*y)+(3*z)<br />

n B8: =-(6*x)-(2*y)+(z)<br />

These formulas use the values in the x, y, and z named cells. The range C6:C8 contains the “desired” result<br />

for these three formulas.<br />

Solver will adjust the values in x, y, and z (that is, the changing cells in C11:C13), subject to these constraints:<br />

n<br />

n<br />

n<br />

B6=C6<br />

B7=C7<br />

B8=C8<br />

This problem doesn’t have a target cell because it’s not trying to maximize or minimize anything.<br />

However, the Solver Parameters dialog box insists that you specify a formula for the Set<br />

Target Cell field. Therefore, just enter a reference to any cell that has a formula.<br />

NOTE<br />

Figure 37.10 shows the solution. The x (0.75), y (-2.0), and z (0.5) values satisfy all three equations.<br />

FIGURE 37.10<br />

Solver solved the simultaneous equations.<br />

NOTE<br />

Keep in mind that a set of linear equations may have one solution, no solution, or an infinite<br />

number of solutions.<br />

659

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!