summaryrefslogtreecommitdiff
path: root/135/CH3/EX3.7/EX7.sce
blob: d8c1b0b45c84e22e4137b97c87f3b58f09793163 (plain)
1
2
3
4
5
6
7
// Example 3.7: Full scale reading
clc, clear
Idc=1e-3; // in amperes
Rf=10; // in ohms
RL=5e3; // in ohms
Vrms=Idc*(RL+Rf)*%pi/(2*sqrt(2)); // Full-scale deflection in volts
disp(Vrms,"Full-scale deflection (V) =");