diff options
Diffstat (limited to '343/CH1/EX1.50/ex_50.sce')
-rwxr-xr-x | 343/CH1/EX1.50/ex_50.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/343/CH1/EX1.50/ex_50.sce b/343/CH1/EX1.50/ex_50.sce new file mode 100755 index 000000000..ca48334e8 --- /dev/null +++ b/343/CH1/EX1.50/ex_50.sce @@ -0,0 +1,12 @@ +R1=20;
+R2=10;
+R3=15;
+R4=10;
+R5=10;
+V1=100;
+V2=80;
+A=[13,-4;1,-4]; //Applying KCL at the two nodes
+B=[300;120]
+V=inv(A)*B;
+IR3=(V(1,1)-V(2,1))/R3;
+disp("Amperes",IR3,"Current in 15 Ohm resistor");
\ No newline at end of file |