
Chapter 4 Optimum Design Concepts: Optimality Conditions
MATLAB Code for Exercise 4.84
clear all
[A,B]=meshgrid(19850:10:20150,8500:10:11500);
f=–180*A–100*B;
g1=0.6*A+0.8*B–20000;
cv1=[0:15:150];
const1=contour(A,B,g1,cv1,‘g’);
cv1=[0:1:10];
const1=contour(A,B,g1,cv1,‘k’);
cv2=[0:4:30];
const4=contour(A,B,g4,cv4,‘k’);
cv5=[0:1:5];
const3=contour(A,B,g5,cv5,‘g’);
cv5=[0];
const5=contour(A,B,g5,cv5,‘k’);