//example 3.7// //not using nor 2 different input// clc //refreshes all variables// clear //clears the screen// disp('in the figure one input is permanently 0 is given to NOR gate.') //result//