summaryrefslogtreecommitdiff
path: root/671/CH3/EX3.3/3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH3/EX3.3/3_3.sce')
-rwxr-xr-x671/CH3/EX3.3/3_3.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/671/CH3/EX3.3/3_3.sce b/671/CH3/EX3.3/3_3.sce
new file mode 100755
index 000000000..810c2f2e6
--- /dev/null
+++ b/671/CH3/EX3.3/3_3.sce
@@ -0,0 +1,21 @@
+function C=seriesC(C1,C2)
+ C=C1*C2/(C1+C2)
+endfunction
+
+V=100
+
+Cp=1+2
+Ceq=seriesC(Cp,6)
+q=Ceq*V
+
+q1=q*(1/(1+2))
+q2=q-q1
+
+disp(q2,q1,q)
+
+E6=q*q/2/6/1000
+E1=q1*q1/2/1/1000
+E2=q2*q2/2/2/1000
+Enet=E1+E2+E6
+
+disp(Enet,E6,E2,E1) \ No newline at end of file