summaryrefslogtreecommitdiff
path: root/671/CH4/EX4.26
diff options
context:
space:
mode:
Diffstat (limited to '671/CH4/EX4.26')
-rwxr-xr-x671/CH4/EX4.26/4_26.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/671/CH4/EX4.26/4_26.sce b/671/CH4/EX4.26/4_26.sce
new file mode 100755
index 000000000..7c1766861
--- /dev/null
+++ b/671/CH4/EX4.26/4_26.sce
@@ -0,0 +1,21 @@
+function Zeq=parallel(Z1,Z2)
+ Zeq=Z1*Z2/(Z1+Z2)
+endfunction
+
+//converting curr source to v source
+I=0.4
+R1=15
+V=I*R1
+w=400
+
+R2=5
+R3=80
+L=25E-3
+Xl=w*L*%i
+
+Zeq=R1+R2+parallel(R3,Xl)
+I=V/Zeq
+Il=I*R3/(R3+Xl)
+Ix=I*Xl/(R3+Xl)
+
+disp(Il,Ix) \ No newline at end of file