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/CH10/EX10.5/Ex10_5.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/CH10/EX10.5/Ex10_5.sce')
-rw-r--r-- | 3831/CH10/EX10.5/Ex10_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3831/CH10/EX10.5/Ex10_5.sce b/3831/CH10/EX10.5/Ex10_5.sce new file mode 100644 index 000000000..0177ce161 --- /dev/null +++ b/3831/CH10/EX10.5/Ex10_5.sce @@ -0,0 +1,14 @@ +// Example 10_5
+clc;funcprot(0);
+// Given data
+Q=-100;// W
+W=-100;// W
+T_b=24.0+273;// K
+p_0=0.101;// MPa
+T_0=15.0+273;// K
+
+// Calculation
+dVbydt=0;
+dAbydt=0;
+I=((1-(T_0/T_b))*Q)-W+(p_0*dVbydt)-dAbydt;// W
+printf("\nThe irreversibility rate within the room,I=%2.1f W",I);
|