summaryrefslogtreecommitdiff
path: root/3871/CH3/EX3.12
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH3/EX3.12')
-rw-r--r--3871/CH3/EX3.12/Ex3_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3871/CH3/EX3.12/Ex3_12.sce b/3871/CH3/EX3.12/Ex3_12.sce
new file mode 100644
index 000000000..0119b6f19
--- /dev/null
+++ b/3871/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,19 @@
+//===========================================================================
+//chapter 3 example 12
+
+clc;clear all;
+
+//variable declaration
+u = 150; //capacitance in uF
+du = 2.4; //capacitance in uF
+v = 120; //capacitance in uF
+dv = 1.5; //capacitance in uF
+
+//calculations
+y = u+v; //resultant capacitance when capacitors are connectedd in parallel in uF
+dy = du+dv; //limiting error in uF(ranging + to -)
+er = (dy/(y))*100; //relative limiting error in %(ranging + to -)
+
+//result
+mprintf("limiting error of the resultant capacitance = %3.2f percentage',er);
+