summaryrefslogtreecommitdiff
path: root/1730/CH2/EX2.24/Exa2_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '1730/CH2/EX2.24/Exa2_24.sce')
-rwxr-xr-x1730/CH2/EX2.24/Exa2_24.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1730/CH2/EX2.24/Exa2_24.sce b/1730/CH2/EX2.24/Exa2_24.sce
new file mode 100755
index 000000000..fc4e8ae53
--- /dev/null
+++ b/1730/CH2/EX2.24/Exa2_24.sce
@@ -0,0 +1,20 @@
+//Exa2.24
+clc;
+clear;
+close;
+//given data
+t2=50;// in degree C
+t1=20; // in degree C
+R1=600;// in ohm
+R2=300;// in ohm
+
+// Let resistance of 600 ohm resistance at 50 degree C = R_600
+R_600=R1*(1+(t2-t1)*.001);// in ohm
+// Let resistance of 300 ohm resistance at 50 degree C = R_300
+R_300=R2*(1+(t2-t1)*.004);// in ohm
+R_50=R_600+R_300;// in ohm
+disp("Resistance of combination at 50degree C is : "+string(R_50)+ " ohm")
+R_20=R1+R2;// in ohm
+alpha_20=(R_50/R_20-1)/(t2-t1);
+alpha_50=1/(1/(alpha_20)+(t2-t1));
+disp("Effective temperature coefficient of combination at 50 degree C is : "+string(alpha_50)+" or 1/530 per degree C")