summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.1/Ex6_1.sce
blob: 8c952ce3fdf11c33c541f30ad34f7d9267e57343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//===========================================================================
//chapter 6 example 1

clc;
clear all;
 
//variable declaration
Im   = 50*10^-6;              //full scale deflection current in A
Rm   = 1000;             //instrument resistance in Ω
I    = 1;                    //total current to be measured in A
 
//calculations
Rs   = (Rm/((I/(Im))-1));       //resistance of ammeter in Ω
 
 
//result
mprintf("resistance of ammeter shunt required Rs = %3.7f Ω",Rs);