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 /527/CH2/EX2.15 | |
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 '527/CH2/EX2.15')
-rwxr-xr-x | 527/CH2/EX2.15/2_15exam.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/527/CH2/EX2.15/2_15exam.sce b/527/CH2/EX2.15/2_15exam.sce new file mode 100755 index 000000000..050c13d3f --- /dev/null +++ b/527/CH2/EX2.15/2_15exam.sce @@ -0,0 +1,30 @@ +//Engineering and Chemical Thermodynamics
+//Example 2.15
+//Page no :80
+
+clear ; clc ;
+
+//Given data
+V1 = 350 ; //[m/s]
+A = 3.355 ;
+B = 0.575*10^-3 ;
+D = -0.016*10^5 ;
+Tin = 283 ; //[K]
+MW = 29 * 10^-3 ; //[kg/mol]
+
+ek = 1/2 * MW * V1**2 ;
+//The co-efficients of T2 in the equation of degree 3 are
+a = B/2 ;
+b = A ;
+c = -(Tin * A + Tin^2*B/2 - (D/Tin) + ek/8.314) ;
+d=-D ;
+
+T2=poly(0,'T2');
+P = d + c*T2 + b*T2^2 + a*T2^3 ;
+M = roots(P);
+disp(" Example: 2.15 Page no : 80") ;
+disp( " The solutions are ")
+disp(M);
+disp(" But the outlet temp should be more than 283K(inlet temperature) .So we have to choose the most suitable solution .")
+
+
\ No newline at end of file |