blob: e2885ed6dfa6e91467d2726b5c76ced10d74d011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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));
|