diff options
Diffstat (limited to '182/CH3/EX3.4/example3_4.sce')
-rwxr-xr-x | 182/CH3/EX3.4/example3_4.sce | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/182/CH3/EX3.4/example3_4.sce b/182/CH3/EX3.4/example3_4.sce index b799f4e09..e9eea1e4e 100755 --- a/182/CH3/EX3.4/example3_4.sce +++ b/182/CH3/EX3.4/example3_4.sce @@ -8,11 +8,11 @@ Rm=1000;// Coil resistance is 1 K-ohm // calculation I=10;// FSD initialisation m=0; -while I>0.1, +while I>0.1, I=I/10; Vm=Im*Rm;//voltage across the meter in volts Is=I-Im;//current through shunt resistance in ampere Rs=Vm/Is;//shunt resistance in ohm m=m+1; printf("(%c) shunt resistance value for %.1f A FSD is %f ohm\n ",A(m),I,Rs); -end +end
\ No newline at end of file |