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 /2135/CH2/EX2.14 | |
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 '2135/CH2/EX2.14')
-rwxr-xr-x | 2135/CH2/EX2.14/Exa_2_14.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2135/CH2/EX2.14/Exa_2_14.sce b/2135/CH2/EX2.14/Exa_2_14.sce new file mode 100755 index 000000000..38a21ef3e --- /dev/null +++ b/2135/CH2/EX2.14/Exa_2_14.sce @@ -0,0 +1,27 @@ +//Exa 2.14
+clc;
+clear;
+close;
+format('v',7);
+
+//Given Data :
+m=50/1000;//Kg
+t1=14;//degree_centigrade
+t2=74;//degree_centigrade
+t_heating=300;//sec
+Pheater=10.04;//Watts
+Gamma=1.4;
+
+
+Q=Pheater*t_heating;//J
+//Q=m*Cp*(t2-t1)
+Cp=Q/m/(t2-t1);//J/KgK
+disp(Cp,"Specific heat of air in J/KgK : ");
+//Cp*(1-1/Gamma)=R
+R=Cp*(1-1/Gamma);//Gas Constant in Nm/KgK
+disp(R,"Gas constant of air in Nm/KgK : ");
+//p=rho*R*T
+p=0.1;//Mpa
+T=0+273;//kelvin
+rho=p*10^6/R/T;//Kg/m^3
+disp(rho,"Density of air in Kg/m^3 : ");
|