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 /929/CH2/EX2.11.b/Example2_11_b.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 '929/CH2/EX2.11.b/Example2_11_b.sce')
-rwxr-xr-x | 929/CH2/EX2.11.b/Example2_11_b.sce | 27 |
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 |