summaryrefslogtreecommitdiff
path: root/671/CH2/EX2.11/2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH2/EX2.11/2_11.sce')
-rwxr-xr-x671/CH2/EX2.11/2_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/671/CH2/EX2.11/2_11.sce b/671/CH2/EX2.11/2_11.sce
new file mode 100755
index 000000000..d4937c918
--- /dev/null
+++ b/671/CH2/EX2.11/2_11.sce
@@ -0,0 +1,15 @@
+//converting voltage source to current source
+
+I=240/3
+
+//KCLs
+
+A=[1/3+1/6,-1/6;-1/6,1/6+1/12+1/30]
+V=inv(A)*[70;5]
+Vx=V(1)
+Vy=V(2)-60
+
+V6=V(2)-V(1)
+P6=V6*V6/6
+
+disp(P6) \ No newline at end of file