summaryrefslogtreecommitdiff
path: root/1994/CH3/EX3.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1994/CH3/EX3.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1994/CH3/EX3.8')
-rwxr-xr-x1994/CH3/EX3.8/Example3_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1994/CH3/EX3.8/Example3_8.sce b/1994/CH3/EX3.8/Example3_8.sce
new file mode 100755
index 000000000..e1c1960bf
--- /dev/null
+++ b/1994/CH3/EX3.8/Example3_8.sce
@@ -0,0 +1,18 @@
+
+//Chapter-3,Example3_8,pg 3_38
+n=3
+R=1/(10^n)
+//for 10V range
+R=R*10
+err1=R//1-digit error
+//reading is 5V
+err=(0.5/100)*5//error due to reading
+errt=err1+err//total error
+printf("error when reading is 5V\n")
+printf("errt=%.4f V\n",errt)
+//reading is 0.1V
+err=(0.5/100)*0.1//error due to reading
+errt=err+err1//total error
+errp=(errt/0.1)*100
+printf("percent error when reading is 0.1V\n")
+printf("errp=%.1f ",errp)