You are on page 1of 2

Take home quiz chapter 5 (GSS Max)

Calculate maximum value for:

f ( x )=2 x−1.75 x 2+1.1 x 3−0.25 x 4

Use initial guesses of xl= -2 and xu= 4

a) Determine

xl = and xu=

b) Calculate

d=

c) Calculate

x1 =

x2 =

d) Calculate

f(xl) = ,f(x2) = ,f(x1) = ,f(xu)=

e) Sketch for xl, x2, x1 & xu and their f(x)s


f) Determine xopt from sketch e)

xopt =

g) Calculate error

ea =

h) Determine xl & xu for next iteration

xl = and xu=

i) Continue calculation for 5 iterations

xl xu d x1 x2 fxl fxu fx1 fx2 xopt ea


-2 4

You might also like