X = -5:10; % Values of X PX = ibinom(15,0.6,0:15); % Probabilities for X G = (X + 6).*(X - 1).*(X - 8); % Array operations on X matrix to get G = g(X) M = (G > - 100)&(G < 130); % Relational and logic...X = -5:10; % Values of X PX = ibinom(15,0.6,0:15); % Probabilities for X G = (X + 6).*(X - 1).*(X - 8); % Array operations on X matrix to get G = g(X) M = (G > - 100)&(G < 130); % Relational and logical operations on G PM = M*PX' % Sum of probabilities for selected values PM = 0.4800 disp([X;G;M;PX]') % Display of various matrices (as columns) -5.0000 78.0000 1.0000 0.0000 -4.0000 120.0000 1.0000 0.0000 -3.0000 132.0000 0 0.0003 -2.0000 120.0000 1.0000 0.0016 -1.0000 90.0000 1.0000 0.0074 0 48.…