//example 6-14c// //Number of inputs required// clc //clears the window// clear //clears all existing variables// disp(' Y=ST''U''V+STO''V+UV''+SUV+TU''V'' ') disp('count AND inputs') disp('4+4+2+3+3=16') disp('count OR inputs') disp('1+1+1+1+1=5') disp('therefore total inputs=21') //result is displayed//