summaryrefslogtreecommitdiff
path: root/1376/CH1/EX1.20/1_20.sci
diff options
context:
space:
mode:
Diffstat (limited to '1376/CH1/EX1.20/1_20.sci')
-rwxr-xr-x1376/CH1/EX1.20/1_20.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/1376/CH1/EX1.20/1_20.sci b/1376/CH1/EX1.20/1_20.sci
new file mode 100755
index 000000000..926975739
--- /dev/null
+++ b/1376/CH1/EX1.20/1_20.sci
@@ -0,0 +1,16 @@
+//1.20
+clc;
+R0=5;
+a=0.004;
+T=30;
+R=R0*(1+a*(T-20));
+printf("Resistance of the wire=%.1f ohm",R)
+//Let (dR/dR0) =b ; (dR/da)=c ; (dR/dT)=d
+b=(1+a*(T-20));
+c=R0*(T-20);
+d=R0*a;
+ur0=5*0.003;
+ua=0.004*0.01;
+ut=1;
+uR=(b^2*ur0^2+c^2*ua^2+d^2*ut^2)^0.5;
+printf("Uncertanity in resistance=%.2f ohm",uR)