Name: Lab # 10 November 11, 2013

advertisement
Name:
Lab # 10
November 11, 2013
The lab is due by start of lab on November 18, 2013.
This lab is to see how to use a spreadsheet to aid in finding the feasible region.
First we need a graph of the equations. To graph the lines, we need to create a collection of points and
then create a chart from those points. To graph multiple lines at the same time, we will use the same
x-values for each line and then compute the appropriate y-values. The spreadsheet will plot the points
and also draw the lines. Note: the spreadsheet may not graph dotted lines. When selecting the
x-values, make sure that they are equally spaced. This will help with the graph.
I advise entering the inequalities(lines) as shown below on the right (or some similar method). This will
allow the spreadsheet to compute the y-values for the different lines. The y-value(s) for L1 would be
computed by
(H1 − B1 ∗ A8)/E1
and similar computations for the values of L2.
Example:
L1:
3x + 2y ≤ 12
L2:
x − 5y ≥ 10
L3: 3x + y ≥ 6
1
2
3
4
5
6
7
8
9
10
A
L1
L2
L3
x-value
0
5
10
B
3
1
3
L1
6
C
x
x
x
L2
−2
D
+
+
+
L3
6
E
2
−5
1
F
y
y
y
G
<=
>=
>=
H
12
10
6
test
0
L1
L2
L3
point
4
8
The setup of the inequalities will also aid in inputing a test point and seeing if they make the inequality
true or false.
Example: Graph the feasible region for these constraints.
2x + y ≥ 36
x + 3y ≥ 30
x − y ≥ −6
y ≤ 18
x, y ≥ 0
Example: Graph the feasible region for these constraints. A verticel line will be hard to include in the
graph on the spreadsheet. Just graph it by hand on your paper.
x + 2y ≥ 16
3x + 2y ≥ 24
x − 2y ≤ 0
x ≤ 13
x≥0
Once again e-mail me the spreadsheet showing how you solved these problems. Make sure your name is
typed into the spreadsheet.
Download