summaryrefslogtreecommitdiff
path: root/3871/CH5/EX5.32/Ex5_32.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH5/EX5.32/Ex5_32.sce')
-rw-r--r--3871/CH5/EX5.32/Ex5_32.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3871/CH5/EX5.32/Ex5_32.sce b/3871/CH5/EX5.32/Ex5_32.sce
new file mode 100644
index 000000000..f39316092
--- /dev/null
+++ b/3871/CH5/EX5.32/Ex5_32.sce
@@ -0,0 +1,23 @@
+//===========================================================================
+//chapter 5 example 32
+
+clc;
+clear all;
+
+//variable declaration
+K = 0.0981*10^-6;
+theta = 80; //full scale of deflection in °
+V = 1000; //voltage in V
+C = 10*10^-12; //capacitance in F
+
+//calculations
+//x =dC/dtheta = (2*K*theta)/V^2
+x = (2*K*theta)/V^2; //rate of change of capacitance
+dC = x*(theta/180)*%pi;
+C1 = C+dC;
+
+//result
+mprintf("capacitance when reading 1kV = %3.3e F",C1);
+
+
+