From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1994/CH3/EX3.8/Example3_8.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 1994/CH3/EX3.8/Example3_8.sce (limited to '1994/CH3/EX3.8') 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) -- cgit