diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /876/CH2/EX2.11/Ex2_11.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '876/CH2/EX2.11/Ex2_11.sce')
-rwxr-xr-x | 876/CH2/EX2.11/Ex2_11.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/876/CH2/EX2.11/Ex2_11.sce b/876/CH2/EX2.11/Ex2_11.sce new file mode 100755 index 000000000..045ae14ce --- /dev/null +++ b/876/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,21 @@ +//caption:Find unknown resistance,percent error and error in ohm
+//Ex2.11
+clc
+clear
+close
+P=100//resistance of arm of wheatstone bridge(in ohm)
+ep=0.5//error in P(in %)
+Q=50//resistance of arm of wheatstone bridge(in ohm)
+eq=0.5//error in Q(in %)
+S=75.5//resistance of arm of wheatstone bridge(in ohm)
+es=0.5//error in S(in %)
+X=(P*S)/Q
+disp(X,'unknown resistance(in ohm)=')
+xo1=ep+es-eq
+disp(xo1,'percent error when Q is taken positive(in %)=')
+ex1=(xo1*X)/100
+disp(ex1,'error in ohm(in ohm)=')
+xo2=ep+es+eq
+disp(xo2,'percent error when Q is taken negative(in %)=')
+ex2=(xo2*X)/100
+disp(ex2,'error in ohm(in ohm)=')
\ No newline at end of file |