diff options
Diffstat (limited to '887/CH2/EX2.6/2_6.sce')
-rwxr-xr-x | 887/CH2/EX2.6/2_6.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/887/CH2/EX2.6/2_6.sce b/887/CH2/EX2.6/2_6.sce new file mode 100755 index 000000000..ccdfe62c3 --- /dev/null +++ b/887/CH2/EX2.6/2_6.sce @@ -0,0 +1,9 @@ +clc
+//ex2.6
+//we display the equations in scilab as follows
+disp('At node 1:')
+disp('(V1/R1)+((V1-V2)/R2)+i_s=0') //KCL at node 1
+disp('At node 2:')
+disp('((V2-V1)/R2)+(V2/R3)+((V2-V3)/R4)=0') //KCL at node 2
+disp('At node 3:')
+disp('(V3/R5)+((V3-V2)/R4))=i_s') //KCL at node 3
|