summaryrefslogtreecommitdiff
path: root/165/CH1/EX1.8.a/ex1_8_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '165/CH1/EX1.8.a/ex1_8_a.sce')
-rw-r--r--165/CH1/EX1.8.a/ex1_8_a.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/165/CH1/EX1.8.a/ex1_8_a.sce b/165/CH1/EX1.8.a/ex1_8_a.sce
new file mode 100644
index 000000000..18b13f3de
--- /dev/null
+++ b/165/CH1/EX1.8.a/ex1_8_a.sce
@@ -0,0 +1,9 @@
+//Example 1.8(a)
+clc;
+Fs=500*10^-3; //Full Scale
+e=0.02; //error permissable +-2%
+I=300*10^-3; //Current measured
+lim_err=Fs*e; //magnitude of limiting error
+//limiting error at a given current I
+lim_err_I=100*lim_err/I;
+printf('\nLimiting error at 300 mA = %.2f percent\n',lim_err_I) \ No newline at end of file