// Chapter6 // Page.No-205, Figure.No-6.9 // Example_6_6 // Output voltage // Given clear;clc; Va=2;Vb=3;Vc=4;Vd=5; // Input voltages in volts R=1*10^3; Vo=-Va-Vb+Vc+Vd; // Output voltage printf("\n Output voltage is = %.f V \n",Vo)