summaryrefslogtreecommitdiff
path: root/1109/CH12/EX12.9/12_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1109/CH12/EX12.9/12_9.sce')
-rwxr-xr-x1109/CH12/EX12.9/12_9.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1109/CH12/EX12.9/12_9.sce b/1109/CH12/EX12.9/12_9.sce
new file mode 100755
index 000000000..71b5175a6
--- /dev/null
+++ b/1109/CH12/EX12.9/12_9.sce
@@ -0,0 +1,7 @@
+clear;
+clc;
+V1=10;V2=20;R1=5;R2=15;
+Isc=(V1/R1)+(V2/R2);
+Zab=1/((1/R2)+(1/R1));
+printf("-Short circuit current = %f Amp\n",round(Isc*100)/100);
+printf("-Equivalent impedance = %f ohm",Zab);