//Example 20.7. refer fig. 20.16. clc format(6) v=-(2+3+4) // in volts disp("The output voltage is given by,") disp(v," Vo(V) = -Rf/R * (V1+V2+...+Vn) =")