summaryrefslogtreecommitdiff
path: root/3871/CH1/EX1.3/Ex1_3.sce
blob: 3a49536c87a2533e2279e0c32d5e08637609aabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===========================================================================
//chapter 1 example 3

clc;
clear all;

//variable declaration
n     = 100;              //highest mutiplier switch in mA
N     = 100;              //number of divisions


//calculations
R     = (N*10^-3)*n;              //Range of instrument in A
S     = 0-n;              //scale range

//result
mprintf("Range of instrument = %3.2f A",R);
mprintf("\nScale Range  = 0%3.2f",S);

//=============================================================================