Professional Documents
Culture Documents
Stan Zak
January 09, 2013
f = f (x1 , x2 ) = x1 x2 + 7,
an example of a real-valued function of two
variables,
f : R2 R
f = f (x1 , x2 ) = x1 x2 + 7,
an example of a real-valued function of two
variables,
f : R2 R
" #
x1
x= 7 a = f (x1 , x2 ) R
x2
min f (x)
subject to x
min f (x)
subject to x
What about maximization?
(Bigger = better)
min f (x)
subject to x
What about maximization?
(Bigger = better)
How to solve optimization problem?
min f (x)
subject to x
What about maximization?
(Bigger = better)
How to solve optimization problem?
Analytically
min f (x)
subject to x
What about maximization?
(Bigger = better)
How to solve optimization problem?
Analytically
Numerically
16
14 mt2+c-y2
12
10
6 mt1+c-y1
2 mto+c-yo
0
0 1 2 3 4 5 t
Equation of line: y = mt + c;
Equation of line: y = mt + c;
Optimization problem: Find m and c to
n
1 X 2
min (mti + c yi )
n i=0
Equation of line: y = mt + c;
Optimization problem: Find m and c to
n
1 X 2
min (mti + c yi )
n i=0
Equation of line: y = mt + c;
Optimization problem: Find m and c to
n
1 X 2
min (mti + c yi )
n i=0
R1 R3 R5
I1 I3 I5
I2 R2 I4 R4
30 +
Volts
Current I1 I2 I3 I4 I5
Upper Limit (Amps) 4 3 3 2 2
Lower Limit (Amps) 0 0 0 0 0
u
M