From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1682/CH16/EX16.1/Exa16_1.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1682/CH16/EX16.1/Exa16_1.sce (limited to '1682/CH16/EX16.1/Exa16_1.sce') diff --git a/1682/CH16/EX16.1/Exa16_1.sce b/1682/CH16/EX16.1/Exa16_1.sce new file mode 100755 index 000000000..c1e111c86 --- /dev/null +++ b/1682/CH16/EX16.1/Exa16_1.sce @@ -0,0 +1,19 @@ +//Exa 16.1 +clc; +clear; +close; +//given data : +disp("The data of the problem are summarized below : "); +disp("Machine Products Limit on "); +disp(" P1 P2 machine hours"); +disp("Lathe 5 10 60"); +disp("Milling 4 4 40"); +disp("Profit/unit 6 8"); +disp("Let X1 be the production volume of the product.P1, and"); +disp("X2 be the production volume of the product,P2."); +disp("The corresponding linear programming model to determine the production volume of each product such that the total profit is maximized is as shown below : "); +disp("maximize Z = 6*X1 + 8*X2"); +disp("subject to"); +disp("5*X1+10*X2 <= 60") +disp("4*X1+4*X2 <= 40") +disp("X1,X2 >= 0") \ No newline at end of file -- cgit