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.

Part V<br />

Analyzing Data with Excel<br />

Usually, you want to save a model only when you’re using more than one set of Solver parameters with your<br />

worksheet. This is because Excel saves the first Solver model automatically with your worksheet (using hidden<br />

names). If you save additional models, Excel stores the information in the form of formulas that correspond<br />

to the specifications. (The last cell in the saved range is an Array formula that holds the options<br />

settings.)<br />

Solver Examples<br />

The remainder of this chapter consists of examples of using Solver for various types of problems.<br />

Solving simultaneous linear equations<br />

This example describes how to solve a set of three linear equations with three variables. Here’s an example<br />

of a set of linear equations:<br />

4x + 2y -2z =0<br />

2x - 3y +3z =9<br />

-6x -2y +z = 0<br />

The question that Solver will answer is “What values of x, y, and z satisfy all three of these equations?”<br />

Figure 37.9 shows a workbook set up to solve this problem. This workbook has three named cells, which<br />

makes the formulas more readable:<br />

n x: C11<br />

n y: C12<br />

n z: C13<br />

The three named cells are all initialized to 1 (which certainly doesn’t solve the equations).<br />

FIGURE 37.9<br />

Solver will attempt to solve this series of linear equations.<br />

658

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

Saved successfully!

Ooh no, something went wrong!