summaryrefslogtreecommitdiff
path: root/671/CH2/EX2.22/2_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH2/EX2.22/2_22.sce')
-rwxr-xr-x671/CH2/EX2.22/2_22.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/671/CH2/EX2.22/2_22.sce b/671/CH2/EX2.22/2_22.sce
new file mode 100755
index 000000000..1137cf227
--- /dev/null
+++ b/671/CH2/EX2.22/2_22.sce
@@ -0,0 +1,13 @@
+function p=parallel(r1,r2)
+ p=r1*r2/(r1+r2)
+endfunction
+
+//Thevenin Equivalent
+I=(32-8)/30
+Voc=32-20*I
+Ro=parallel(20,10)
+disp(Ro,Voc)
+
+//Norton Equivalent
+Isc=32/20+8/10
+disp(Ro,Isc) \ No newline at end of file