diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH19/EX19.3/Ex19_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3831/CH19/EX19.3/Ex19_3.sce')
-rw-r--r-- | 3831/CH19/EX19.3/Ex19_3.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3831/CH19/EX19.3/Ex19_3.sce b/3831/CH19/EX19.3/Ex19_3.sce new file mode 100644 index 000000000..2897ca7f9 --- /dev/null +++ b/3831/CH19/EX19.3/Ex19_3.sce @@ -0,0 +1,20 @@ +// Example 19_3
+clc;funcprot(0);
+// Given data
+T_H=100;// °C
+T_C=0;// °C
+alpha_ch=23.0*10^-6;// V/K
+alpha_al=-18.0*10^-6;// V/K
+
+// Solution
+// (a)
+alpha_chal=alpha_ch-alpha_al;// V/K
+phi_alch=alpha_chal*(T_H-T_C);// V
+// (b)
+pi_ch1=alpha_ch*(T_C+273.15);// V
+pi_al1=alpha_al*(T_C+273.15);// V
+pi_chal1=pi_ch1-pi_al1;// V
+pi_ch2=alpha_ch*(T_H+273.15);// V
+pi_al2=alpha_al*(T_H+273.15);// V
+pi_chal2=pi_ch2-pi_al2;// V
+printf('\n(a)alpha_ch-al=%2.0e V/K \n phi_al-ch=%1.1e V \n(b)At the 0.00°C = 273.15 K junction, \npi_ch=%1.2e V \npi_al=%1.2e V \npi_ch-al=%2.1e V \nAt the 100.°C = 373.15 K junction,\npi_ch=%1.2e V \npi_al=%1.2e V \npi_ch-al=%2.1e V ',alpha_chal,phi_alch,pi_ch1,pi_al1,pi_chal1,pi_ch2,pi_al2,pi_chal2);
|