From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 23/CH2/EX2.4/Example_2_4.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 23/CH2/EX2.4/Example_2_4.sce (limited to '23/CH2/EX2.4/Example_2_4.sce') 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 -- cgit