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 /2360/CH2/EX2.17/ex2_17.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 '2360/CH2/EX2.17/ex2_17.sce')
-rwxr-xr-x | 2360/CH2/EX2.17/ex2_17.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2360/CH2/EX2.17/ex2_17.sce b/2360/CH2/EX2.17/ex2_17.sce new file mode 100755 index 000000000..7672c0352 --- /dev/null +++ b/2360/CH2/EX2.17/ex2_17.sce @@ -0,0 +1,16 @@ +// Exa 2.17
+format('v',7);clc;clear;close;
+// Given data
+// Values of resistances
+R1 = 36;// in ohm
+R2 = 75;// in ohm
+R_T = (R1*R2)/(R1+R2);// in ohm
+// Error in resistance
+e1 = 5;// in %
+e_1 = e1+e1;// in % assumed
+e2 = ( ((R1/(R1+R2))*e1) + ((R2/(R1+R2))*e1) );// in %
+e_T = e_1+e2;//limiting error in %
+// Per_e_T= del_R_T/R_T*100;
+del_R_T= e_T*R_T/100;//limiting error in Ω
+disp("The limiting error (in percentage) is : ± "+string(e_T)+" %")
+disp("The limiting error (in ohm) is : ± "+string(del_R_T)+" Ω")
|