summaryrefslogtreecommitdiff
path: root/929/CH2/EX2.11.b/Example2_11_b.sce
diff options
context:
space:
mode:
Diffstat (limited to '929/CH2/EX2.11.b/Example2_11_b.sce')
-rwxr-xr-x929/CH2/EX2.11.b/Example2_11_b.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/929/CH2/EX2.11.b/Example2_11_b.sce b/929/CH2/EX2.11.b/Example2_11_b.sce
new file mode 100755
index 000000000..493872860
--- /dev/null
+++ b/929/CH2/EX2.11.b/Example2_11_b.sce
@@ -0,0 +1,27 @@
+//Example 2.11(b)
+
+clear;
+
+clc;
+
+R0=100;
+
+alpha=0.00392;
+
+T1=25;
+
+R1=R0*(1+alpha*T1);
+
+printf("R(25 deg Celsius)=%.2f ohms",R1);
+
+T2=100;
+
+R2=R0*(1+alpha*T2);
+
+printf("\nR(100 deg Celsius)=%.2f ohms",R2);
+
+T3=-15;
+
+R3=R0*(1+alpha*T3);
+
+printf("\nR(-15 deg Celsius)=%.2f ohms",R3); \ No newline at end of file