summaryrefslogtreecommitdiff
path: root/671/CH5/EX5.18/5_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH5/EX5.18/5_18.sce')
-rwxr-xr-x671/CH5/EX5.18/5_18.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/671/CH5/EX5.18/5_18.sce b/671/CH5/EX5.18/5_18.sce
new file mode 100755
index 000000000..30d01fd7d
--- /dev/null
+++ b/671/CH5/EX5.18/5_18.sce
@@ -0,0 +1,15 @@
+V=100
+R=10
+L=2E-3
+C=200E-6
+
+w0=1/sqrt(L*C)
+Xl=w0*L*%i
+Xc=1/(w0*C*%i)
+I=V/R
+
+Vl=I*Xl
+Vc=I*Xc
+Vlc=Vl+Vc
+
+disp(Vlc,Vc,Vl,I,w0) \ No newline at end of file