//example 6-14a// //Number of inputs required// clc //clears the window// clear //clears all existing variables// disp(' W=AB''D+ACD''+EF ') disp('count AND inputs') disp('3+3+2=8') disp('count OR inputs') disp('1+1+1=3') disp('therefore total inputs=11') //result is displayed//