diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH3/EX3.33 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1808/CH3/EX3.33')
-rw-r--r-- | 1808/CH3/EX3.33/Chapter3_Exampl33.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1808/CH3/EX3.33/Chapter3_Exampl33.sce b/1808/CH3/EX3.33/Chapter3_Exampl33.sce new file mode 100644 index 000000000..32039fff5 --- /dev/null +++ b/1808/CH3/EX3.33/Chapter3_Exampl33.sce @@ -0,0 +1,27 @@ +clc
+clear
+//INPUT DATA
+cp=1.005;//specific pressure
+cv=0.718;//specific volume
+R=0.287;//gs constant
+p1=100;//pressure in kPa
+t1=300;//temperature in K
+t3=1300;//temperature in K
+g=1.4;//index of expansion
+
+
+//CALCULATIONS
+Rp=(t3/t1)^(g/(g-1));//pressure ratio
+Rpo=sqrt(Rp);//Pressure ratio which will give maximum net work output
+t2=t1*(Rpo^((g-1)/g));//temperature in K
+t4=t3/(Rpo^((g-1)/g));//temperature in K
+wn=cp*t3*((1-(sqrt(t1/t3)))^2);//maximum net work output in kJ/kg
+ng=(1-sqrt(t1/t3))*100;//Thermal efficiency in percentage
+Rw=(1-sqrt(t1/t3));//work ratio at maximum work output
+nc=(1-(t1/t3))*100;//Carnot efficiency for the same temperature limits in percentage
+
+//OUTPUT
+printf('(i)The pressure ratio which will give maximum net work output is %3.2f \n (ii)maximum net work output is %3.2f kJ/kg \n (iii)Thermal efficiency at maximum output is %3.2f percentage \n (iv)work ratio at maximum work output is %3.4f percentage \n (v)Carnot efficiency for the same temperature limits is %3.2f percentage',Rpo,wn,ng,Rw,nc)
+
+
+
|