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 /2666/CH5 | |
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 '2666/CH5')
-rwxr-xr-x | 2666/CH5/EX5.1/5_1.sce | 12 | ||||
-rwxr-xr-x | 2666/CH5/EX5.2/5_2.sce | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/2666/CH5/EX5.1/5_1.sce b/2666/CH5/EX5.1/5_1.sce new file mode 100755 index 000000000..55de7532b --- /dev/null +++ b/2666/CH5/EX5.1/5_1.sce @@ -0,0 +1,12 @@ +clc
+//initialisation of variables
+h=1000//Btu
+t1=70//F
+t2=740//F
+p=530//Btu
+p1=1200//Btu
+//CALCULATIONS
+Q=h*(1-p/p1)//Btu
+Q1=h*(p/p1)//Btu
+//RESULTS
+printf('the available energy and the unavailable energy equals=% f Btu',Q1)
diff --git a/2666/CH5/EX5.2/5_2.sce b/2666/CH5/EX5.2/5_2.sce new file mode 100755 index 000000000..4d473d8e2 --- /dev/null +++ b/2666/CH5/EX5.2/5_2.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+h=200//Btu
+a=4//lb of water
+t=100//F
+t1=60//F
+t2=520//f
+T=610//R
+T1=560//F
+//CALCULATIONS
+T2=t2*4*1*log(T/T1)//Btu
+Q=h-T2//Btu
+//RESULTS
+printf('The specific heat of water is unity=% f Btu',Q)
|