//example 1.9(a)// clc //clears the screen// clear //clears already existing variables// disp('when one of the logic input of 2-input NOR gate is 0, then when A=1, Y=0 and if A=0, Y=1') disp('Y=A''')