//example 3.1 clc; clear; disp("we can minimize the given equation as:"); disp('Y = AB'' + AB = A(B'' + B)'); disp('Therefore, Y = A(1) = A'); disp('this says that output Y equals to A, so all we hve to do is connect a wire between input A and output Y.');