summaryrefslogtreecommitdiff
path: root/569/CH3/EX3.6/3_6.sci
diff options
context:
space:
mode:
Diffstat (limited to '569/CH3/EX3.6/3_6.sci')
-rwxr-xr-x569/CH3/EX3.6/3_6.sci14
1 files changed, 14 insertions, 0 deletions
diff --git a/569/CH3/EX3.6/3_6.sci b/569/CH3/EX3.6/3_6.sci
new file mode 100755
index 000000000..1b2d4dd31
--- /dev/null
+++ b/569/CH3/EX3.6/3_6.sci
@@ -0,0 +1,14 @@
+// Calculate the magnitude and limiting error in ohm and in percentage of the resistance
+clc;
+R1=37;
+R1_le=5*R1/100;
+R2=75;
+R2_le=5*R2/100;
+R3=50;
+R3_le=5*R3/100;
+R=R1+R2+R3;
+disp(R,'Value of resistance (ohm)=')
+R_le=R1_le+R2_le+R3_le;
+disp(R_le,'Limiting Value of resistance (ohm)=')
+Limiting_error_percentage=R_le*100/R;
+disp(Limiting_error_percentage,'Limiting Value of resistance (percentage)=+/-') \ No newline at end of file