summaryrefslogtreecommitdiff
path: root/671/CH3/EX3.1/3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH3/EX3.1/3_1.sce')
-rwxr-xr-x671/CH3/EX3.1/3_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/671/CH3/EX3.1/3_1.sce b/671/CH3/EX3.1/3_1.sce
new file mode 100755
index 000000000..a3843c726
--- /dev/null
+++ b/671/CH3/EX3.1/3_1.sce
@@ -0,0 +1,9 @@
+function C=seriesC(C1,C2)
+ C=C1*C2/(C1+C2)
+endfunction
+
+Ceq1=10+seriesC(10,10)
+Ceq2=Ceq1
+
+Ceq=seriesC(seriesC(Ceq1,Ceq2),10)
+disp(Ceq) \ No newline at end of file