blob: 88eb3ca656e5fa7be1e7e68ed813683ad7186f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Examle 18.5
Im=50*10^-6; // Current sensitivity
Rm=1000; // Internal resistance
Vf=50; // volt-meter range
Rs=(Vf/Im)-Rm; // The Value of Resister (Rs)
disp ('The Value of Resister (Rs) = '+string(Rs/1000)+' kilo-ohms');
n=Vf/(Im*Rm); // The Voltage Multiplying Factor (N)
disp('The Voltage Multiplying Factor (N) = '+string(n));
// p 767 18.5
|