clc //ex2.9 //we display the required equations as follows disp('Current equations at node1 and node2:') disp('((V1-V2)/5)+((V1-10)/2)=1') disp('(V2/5)+((V2-10)/10)+((V2-V1)/5)=0') disp('Writing the above equations in standard form') disp('0.7V1-0.2V2=6') disp('-0.2V1+0.5V2=1')