Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A company manufactures two products (Product 1 and Product 2) in a batch plant i

ID: 3840339 • Letter: A

Question

A company manufactures two products (Product 1 and Product 2) in a batch plant involving two steps (Step I and Step II). Each batch has the same capacity of 1000 kg per batch but batch cycle times differ between products, as shown in Table below. Table: Times for different steps in the batch process Assuming Step 1 has the total operating time of 5000 hr/year, and Step II has the total operating lime 6000 hr/year, write a Matlab program to determine number of batches i.e n_1 and n, _2, to manufacture Products 1 and 2, respectively per year.

Explanation / Answer

% Since given step 1 can operate 5000hrs per year
% and step 2 can operate 6000hrs per year
% we can say
% 25*n1 + 10*n2 = 5000
% and
% 10*n1 + 20*n2 = 6000
% se we need to solve this system of linear equation

A = [25 10 ; 10 20];
b = [5000; 6000];

% we know Ax = b
% or x = inv(A)*b
x = inv(A)*b;

fprintf("n1 = %d ",x(1))
fprintf("n1 = %d ",x(2))


Hope this helps you

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote