//Example 6-2// //find minterms for A+BC// clc //clears the console// clear //clears all existing variables// //conversion to minterms// disp('Given expression- A+BC ') disp(' on solving ') disp(' A(B+B'')(C+C'')+BC(A+A'') ') disp(' (AB+AB'')(C+C'')+BCA+BCA'' ') disp('multiplying') disp(' C''AB+AB''C+AB''C+AB''C''+BCA+BCA'' ') //final result is displayed//