summaryrefslogtreecommitdiff
path: root/3871/CH5/EX5.25/Ex5_25.sce
blob: 00c4205d2b9c791d7fde6b92991d25966a2da1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//===========================================================================
//chapter 5 example 25

clc;clear all;

//variable declaration
Emax    = 200;		//emf of peak value in V
R            = 10;		//resistance in Ω

//calculations
Imax     = Emax/(R);		//peak value of current in A
Iav         = (2*Imax)/(%pi);	//reading of moving -coil ammeter in A
Irms    = Imax/(sqrt(2));		//reading of moving -iron  ammeter in A

//result
mprintf("reading of moving -coil ammeter = %3.2f A",Iav);
mprintf("\nreading of moving -iron  ammeter = %3.2f A",Irms);
mprintf("\nreading of hot-wire ammeter = %3.2f A",Irms);