summaryrefslogtreecommitdiff
path: root/3831/CH7/EX7.12/Ex7_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH7/EX7.12/Ex7_12.sce')
-rw-r--r--3831/CH7/EX7.12/Ex7_12.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3831/CH7/EX7.12/Ex7_12.sce b/3831/CH7/EX7.12/Ex7_12.sce
new file mode 100644
index 000000000..cb68055f7
--- /dev/null
+++ b/3831/CH7/EX7.12/Ex7_12.sce
@@ -0,0 +1,15 @@
+// Example 7_12
+clc;funcprot(0);
+// Given data
+T=600;// K
+I=0.10;// amp
+L=10.0*10^-3;// m
+b=5.00*10^-3;// m
+w=1.00*10^-3;// m
+rho_e=0.10;// ohm.m
+
+// Calculation
+A=b*w;// m^2
+R_e=rho_e*(L/A);// W/A^2
+S_pW=(I^2*R_e)/T;// W/K
+printf('\nThe entropy production rate of the chip,(S_p)_W=%0.4f W/K',S_pW);