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 /575/CH7 | |
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 '575/CH7')
24 files changed, 122 insertions, 0 deletions
diff --git a/575/CH7/EX7.2.1/7_2_1.jpg b/575/CH7/EX7.2.1/7_2_1.jpg Binary files differnew file mode 100755 index 000000000..0d7181f39 --- /dev/null +++ b/575/CH7/EX7.2.1/7_2_1.jpg diff --git a/575/CH7/EX7.2.1/7_2_1.sce b/575/CH7/EX7.2.1/7_2_1.sce new file mode 100755 index 000000000..7488998e7 --- /dev/null +++ b/575/CH7/EX7.2.1/7_2_1.sce @@ -0,0 +1,9 @@ +clc
+pathname=get_absolute_file_path('7_2_1.sce')
+filename=pathname+filesep()+'721.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+u=Vdot*100^2 /(%pi*(ID/2)^2 *3600)
+mdot=Vdot*10^3 /3600
+Ek=mdot*u^2 /2
+printf(" \n Ek=%f J/s",Ek)
\ No newline at end of file diff --git a/575/CH7/EX7.2.2/7_2_2.jpg b/575/CH7/EX7.2.2/7_2_2.jpg Binary files differnew file mode 100755 index 000000000..dff0ef9d6 --- /dev/null +++ b/575/CH7/EX7.2.2/7_2_2.jpg diff --git a/575/CH7/EX7.2.2/7_2_2.sce b/575/CH7/EX7.2.2/7_2_2.sce new file mode 100755 index 000000000..4de58ea28 --- /dev/null +++ b/575/CH7/EX7.2.2/7_2_2.sce @@ -0,0 +1,7 @@ +clc
+pathname=get_absolute_file_path('7_2_2.sce')
+filename=pathname+filesep()+'722.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+Power=mdot*g*(z2-z1)
+printf(" \n Power=%d J/s",Power)
\ No newline at end of file diff --git a/575/CH7/EX7.4.1/7_4_1.jpg b/575/CH7/EX7.4.1/7_4_1.jpg Binary files differnew file mode 100755 index 000000000..006c8ba07 --- /dev/null +++ b/575/CH7/EX7.4.1/7_4_1.jpg diff --git a/575/CH7/EX7.4.1/7_4_1.sce b/575/CH7/EX7.4.1/7_4_1.sce new file mode 100755 index 000000000..352207bec --- /dev/null +++ b/575/CH7/EX7.4.1/7_4_1.sce @@ -0,0 +1,9 @@ +clc
+pathname=get_absolute_file_path('7_4_1.sce')
+filename=pathname+filesep()+'741.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+Hcap=U+P*Vcap*101.3
+H=ndot*Hcap*10^3
+printf(" \n Specific Enthalpy=%d J/mol",Hcap)
+printf("\n Enthalpy of Helium=%E J/h",H)
\ No newline at end of file diff --git a/575/CH7/EX7.4.2/7_4_2.jpg b/575/CH7/EX7.4.2/7_4_2.jpg Binary files differnew file mode 100755 index 000000000..06ea81877 --- /dev/null +++ b/575/CH7/EX7.4.2/7_4_2.jpg diff --git a/575/CH7/EX7.4.2/7_4_2.sce b/575/CH7/EX7.4.2/7_4_2.sce new file mode 100755 index 000000000..464d7ef5f --- /dev/null +++ b/575/CH7/EX7.4.2/7_4_2.sce @@ -0,0 +1,12 @@ +clc
+pathname=get_absolute_file_path('7_4_2.sce')
+filename=pathname+filesep()+'742.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+Ek=mdot*10^(-3)*(u2^2-u1^2)/2
+Ep=mdot*g*deltaZ/10^3
+Qdot=Qdot/(0.239*3600)
+Hdot=Qdot-Ws-Ek-Ep
+printf(" \n DeltaH=%f KW",Hdot)
+Hcap=Hdot/mdot
+printf("\n Specific Enthalpy=%f Kj/Kg",Hcap)
\ No newline at end of file diff --git a/575/CH7/EX7.5.1/7_5_1.jpg b/575/CH7/EX7.5.1/7_5_1.jpg Binary files differnew file mode 100755 index 000000000..27cb0d7eb --- /dev/null +++ b/575/CH7/EX7.5.1/7_5_1.jpg diff --git a/575/CH7/EX7.5.1/7_5_1.sce b/575/CH7/EX7.5.1/7_5_1.sce new file mode 100755 index 000000000..28a48014f --- /dev/null +++ b/575/CH7/EX7.5.1/7_5_1.sce @@ -0,0 +1,9 @@ +clc
+pathname=get_absolute_file_path('7_5_1.sce')
+filename=pathname+filesep()+'751.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+deltaH=H0-H50
+deltaU=deltaH+((Pfinal*Vfinal-Pinitial*Vinitial)*1.987/10.73)
+printf(" \n change in Specific Enthalpy=%f Btu/lbm",deltaH)
+printf(" \n change in Specific Internal Energy=%f Btu/lbm",deltaU)
\ No newline at end of file diff --git a/575/CH7/EX7.5.3/7_5_3.jpg b/575/CH7/EX7.5.3/7_5_3.jpg Binary files differnew file mode 100755 index 000000000..92319c8a1 --- /dev/null +++ b/575/CH7/EX7.5.3/7_5_3.jpg diff --git a/575/CH7/EX7.5.3/7_5_3.sce b/575/CH7/EX7.5.3/7_5_3.sce new file mode 100755 index 000000000..416042269 --- /dev/null +++ b/575/CH7/EX7.5.3/7_5_3.sce @@ -0,0 +1,10 @@ +clc
+pathname=get_absolute_file_path('7_5_3.sce')
+filename=pathname+filesep()+'753.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+disp("From Steam tables, ")
+Hin=3201 //Kj/Kg
+Hout=2675 //Kj/Kg
+Ws= -mdot*(Hout-Hin)/3600
+printf("Work delivered by Turbine to surroundings=%d Kw",Ws)
\ No newline at end of file diff --git a/575/CH7/EX7.6.1/7_6_1.jpg b/575/CH7/EX7.6.1/7_6_1.jpg Binary files differnew file mode 100755 index 000000000..69f1548a8 --- /dev/null +++ b/575/CH7/EX7.6.1/7_6_1.jpg diff --git a/575/CH7/EX7.6.1/7_6_1.sce b/575/CH7/EX7.6.1/7_6_1.sce new file mode 100755 index 000000000..f49ca62fe --- /dev/null +++ b/575/CH7/EX7.6.1/7_6_1.sce @@ -0,0 +1,13 @@ +clc
+pathname=get_absolute_file_path('7_6_1.sce')
+filename=pathname+filesep()+'761.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+deltaH=m3*H3-m1*H1-m2*H2
+disp("From tables, Vdot=0.1166 m^3/kg")
+Vdot=0.1166
+A=%pi*(ID/2)^2 /10^4
+u=m3*Vdot/(A*60)
+Ek=m3*u^2 /(2*10^3)
+Qdot=deltaH+Ek
+printf("Heat required=%E Kj/min",Qdot)
\ No newline at end of file diff --git a/575/CH7/EX7.6.2/7_6_2.jpg b/575/CH7/EX7.6.2/7_6_2.jpg Binary files differnew file mode 100755 index 000000000..aa750a6c5 --- /dev/null +++ b/575/CH7/EX7.6.2/7_6_2.jpg diff --git a/575/CH7/EX7.6.2/7_6_2.sce b/575/CH7/EX7.6.2/7_6_2.sce new file mode 100755 index 000000000..24629c41f --- /dev/null +++ b/575/CH7/EX7.6.2/7_6_2.sce @@ -0,0 +1,7 @@ +clc
+pathname=get_absolute_file_path('7_6_2.sce')
+filename=pathname+filesep()+'762.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+Qdot=basis*(x*Hout1+(1-x)*Hout2-x*Hin1-(1-x)*Hin2)
+printf(" \n Heat required=%f KJ/Kg",Qdot/basis)
\ No newline at end of file diff --git a/575/CH7/EX7.6.3/7_6_3.jpg b/575/CH7/EX7.6.3/7_6_3.jpg Binary files differnew file mode 100755 index 000000000..1e63118c2 --- /dev/null +++ b/575/CH7/EX7.6.3/7_6_3.jpg diff --git a/575/CH7/EX7.6.3/7_6_3.sce b/575/CH7/EX7.6.3/7_6_3.sce new file mode 100755 index 000000000..a9abfa982 --- /dev/null +++ b/575/CH7/EX7.6.3/7_6_3.sce @@ -0,0 +1,20 @@ +clc
+pathname=get_absolute_file_path('7_6_3.sce')
+filename=pathname+filesep()+'763.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+disp("Mass balance on Water,")
+disp("m3+m1=m2")
+disp("Energy balance,")
+disp("m3*H3+m1*H1=m2*H2")
+A=[1,-1;H2,-H1]
+b=[m3;m3*H3]
+C=A\b
+//here we solved two linear equations simultaneously.
+m2=C(1,1)
+m1=C(2,1)
+printf(" Input flowrate,m1=%f Kg/h",m1)
+printf(" \n Output flowrate, m2=%f Kg/h",m2)
+disp("From tables,Vdot=3.11 m^3/kg")
+Vdot=3.11
+printf(" Volumetric input flowrate=%f m^3/h",m1*Vdot)
\ No newline at end of file diff --git a/575/CH7/EX7.7.1/7_7_1.jpg b/575/CH7/EX7.7.1/7_7_1.jpg Binary files differnew file mode 100755 index 000000000..e7a77bce4 --- /dev/null +++ b/575/CH7/EX7.7.1/7_7_1.jpg diff --git a/575/CH7/EX7.7.1/7_7_1.sce b/575/CH7/EX7.7.1/7_7_1.sce new file mode 100755 index 000000000..eb92a81e7 --- /dev/null +++ b/575/CH7/EX7.7.1/7_7_1.sce @@ -0,0 +1,10 @@ +clc
+pathname=get_absolute_file_path('7_7_1.sce')
+filename=pathname+filesep()+'771.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+u1=Vdot*10^4 /(10^3 *60*%pi*(ID1/2)^2)
+u2=Vdot*10^4 /(10^3 *60*%pi*(ID2/2)^2)
+deltaP=-((u2^2 - u1^2)/2 + g*deltaZ)*10^3
+P1=P2-deltaP
+printf(" \n P1=%E Pa",P1)
\ No newline at end of file diff --git a/575/CH7/EX7.7.2/7_7_2.jpg b/575/CH7/EX7.7.2/7_7_2.jpg Binary files differnew file mode 100755 index 000000000..d3c4ba3a9 --- /dev/null +++ b/575/CH7/EX7.7.2/7_7_2.jpg diff --git a/575/CH7/EX7.7.2/7_7_2.sce b/575/CH7/EX7.7.2/7_7_2.sce new file mode 100755 index 000000000..018530713 --- /dev/null +++ b/575/CH7/EX7.7.2/7_7_2.sce @@ -0,0 +1,9 @@ +clc
+pathname=get_absolute_file_path('7_7_2.sce')
+filename=pathname+filesep()+'772.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+u2=sqrt(2*32.174*(-F-g*deltaZ/32.174))
+Vdot=u2*%pi*(ID/2)^2 /144
+t=V*0.1337/(Vdot*60)
+printf("Total time taken=%f min",t)
\ No newline at end of file diff --git a/575/CH7/EX7.7.3/7_7_3.jpg b/575/CH7/EX7.7.3/7_7_3.jpg Binary files differnew file mode 100755 index 000000000..0c5735ff0 --- /dev/null +++ b/575/CH7/EX7.7.3/7_7_3.jpg diff --git a/575/CH7/EX7.7.3/7_7_3.sce b/575/CH7/EX7.7.3/7_7_3.sce new file mode 100755 index 000000000..a59ff4a7a --- /dev/null +++ b/575/CH7/EX7.7.3/7_7_3.sce @@ -0,0 +1,7 @@ +clc
+pathname=get_absolute_file_path('7_7_3.sce')
+filename=pathname+filesep()+'773.sci'
+exec(filename)
+printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+mdot= -Ws/(deltaP/D + g*deltaZ)
+printf(" \n Water flow rate=%f kg/s",mdot)
\ No newline at end of file |