blob: 050c13d3f59d9d18b448abbe241299f58902aec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 .")
|