summaryrefslogtreecommitdiff
path: root/3871/CH5/EX5.7
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH5/EX5.7')
-rw-r--r--3871/CH5/EX5.7/Ex5_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3871/CH5/EX5.7/Ex5_7.sce b/3871/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..e2885ed6d
--- /dev/null
+++ b/3871/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,16 @@
+//==========================================================================
+//chapter 5 example 7
+clc;clear all;
+
+//variable declaration
+R = 50; //resistance of the magnetic coil in Ω
+Rt = 500; //resistance in Ω
+L = 0.09; //inductance of the voltmeter in H
+
+//calculations
+r =Rt-R;
+C = (L/(r^2)); //capacitance to be placed in u F
+
+//result
+mprintf("capacitance to be placed to make the instrument read correctly bot dc as well as ac = %3.3fe uF",(C*10^6));
+