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 /569/CH3/EX3.39 | |
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 '569/CH3/EX3.39')
-rwxr-xr-x | 569/CH3/EX3.39/3_39.sci | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/569/CH3/EX3.39/3_39.sci b/569/CH3/EX3.39/3_39.sci new file mode 100755 index 000000000..7e070dd43 --- /dev/null +++ b/569/CH3/EX3.39/3_39.sci @@ -0,0 +1,19 @@ +//to find uncertainity in combined resistance in both series and in parrallel
+
+clc;
+R1=100;
+R2=50;
+wR1=.1;
+wR2=0.03;
+disp('series conn');
+R=R1+R2;disp(R,'resistance(ohm)');
+dR1=1;
+dR2=1;
+wR=sqrt((dR1*wR1)^2+(dR2*wR2)^2);disp(wR,'uncertainity in resistance(ohm)');
+
+disp('parrallel conn');
+R=R1*R2*(R1+R2)^-1;disp(R,'resistance(ohm)');
+dR1=(R2/(R1+R2))-((R1*R2)/(R1+R2)^2);
+dR2=(R1/(R1+R2))-((R1*R2)/(R1+R2)^2);
+wR=sqrt((dR1*wR1)^2+(dR2*wR2)^2);disp(wR,'uncertainity in resistance(ohm)');
+
|