blob: 4d6aa76a54534eaff52ff275b7f5e158c46c93c6 (
plain)
1
2
3
4
5
6
7
8
9
|
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')
|