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 /23/CH2/EX2.4/Example_2_4.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 '23/CH2/EX2.4/Example_2_4.sce')
-rwxr-xr-x | 23/CH2/EX2.4/Example_2_4.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/23/CH2/EX2.4/Example_2_4.sce b/23/CH2/EX2.4/Example_2_4.sce new file mode 100755 index 000000000..4e37ca272 --- /dev/null +++ b/23/CH2/EX2.4/Example_2_4.sce @@ -0,0 +1,26 @@ +clear;
+clc;
+
+//Example 2.4
+//Caption : Program to find the Heat flow in the Path
+
+//Given values
+W_acb=40;//J
+Q_acb=100;//J
+W_aeb=20;//J
+W_bda=30;//J
+
+//Solution
+
+del_U_ab=Q_acb-W_acb;
+
+//(a)
+Q_aeb=del_U_ab-W_aeb;//J
+disp('J',Q_aeb,'(a)Heat Flow in acb')
+
+//(b)
+del_U_ba=-del_U_ab;//J
+Q_bda=del_U_ba-W_bda;
+disp('J',Q_bda,'(b)Heat Flow in bda')
+
+//End
\ No newline at end of file |