summaryrefslogtreecommitdiff
path: root/2339/CH1
diff options
context:
space:
mode:
Diffstat (limited to '2339/CH1')
-rwxr-xr-x2339/CH1/EX1.1.1/Ex1_1.sce6
-rwxr-xr-x2339/CH1/EX1.1.2/Ex1_2.sce10
-rwxr-xr-x2339/CH1/EX1.1.3/Ex1_3.sce8
-rwxr-xr-x2339/CH1/EX1.1.4/Ex1_4.sce11
-rwxr-xr-x2339/CH1/EX1.1.5/Ex1_5.sce12
-rwxr-xr-x2339/CH1/EX1.1.6/Ex1_6.sce15
-rwxr-xr-x2339/CH1/EX1.1.7/Ex1_7.sce11
-rwxr-xr-x2339/CH1/EX1.1.8/Ex1_8.sce16
8 files changed, 89 insertions, 0 deletions
diff --git a/2339/CH1/EX1.1.1/Ex1_1.sce b/2339/CH1/EX1.1.1/Ex1_1.sce
new file mode 100755
index 000000000..4ae97ea33
--- /dev/null
+++ b/2339/CH1/EX1.1.1/Ex1_1.sce
@@ -0,0 +1,6 @@
+clc
+clear
+
+//Solving the problem
+Q=84-8.4-21+4.2;
+printf('The Net Work Done= %2.1f kJ',Q); //Displaying result
diff --git a/2339/CH1/EX1.1.2/Ex1_2.sce b/2339/CH1/EX1.1.2/Ex1_2.sce
new file mode 100755
index 000000000..3e1f36005
--- /dev/null
+++ b/2339/CH1/EX1.1.2/Ex1_2.sce
@@ -0,0 +1,10 @@
+clc
+clear
+
+//Declaring values
+Q=-700;
+W=-3000;
+m=5;
+U=Q-W;
+Us=U/m;
+printf('Change in Specific Energy= %3.0f J/kg',Us); //displaying result
diff --git a/2339/CH1/EX1.1.3/Ex1_3.sce b/2339/CH1/EX1.1.3/Ex1_3.sce
new file mode 100755
index 000000000..8ef58d5e5
--- /dev/null
+++ b/2339/CH1/EX1.1.3/Ex1_3.sce
@@ -0,0 +1,8 @@
+clc
+clear
+
+//Declaring values
+Q=50;
+W=40;
+U=Q-W;
+printf('Change in Internal Energy= %2.0f kJ',U);
diff --git a/2339/CH1/EX1.1.4/Ex1_4.sce b/2339/CH1/EX1.1.4/Ex1_4.sce
new file mode 100755
index 000000000..cc03dbed9
--- /dev/null
+++ b/2339/CH1/EX1.1.4/Ex1_4.sce
@@ -0,0 +1,11 @@
+clc
+clear
+
+m=3000; //mass in kg
+P=736; //Power in kW
+t=5*3600; //Time in seconds
+HV=27170 //Heating value in kJ/kg
+
+E=P/((m/t)*HV);
+Eff=E*100;
+printf('Thermal Efficiency= %2.2f percent',Eff);
diff --git a/2339/CH1/EX1.1.5/Ex1_5.sce b/2339/CH1/EX1.1.5/Ex1_5.sce
new file mode 100755
index 000000000..a41386bd1
--- /dev/null
+++ b/2339/CH1/EX1.1.5/Ex1_5.sce
@@ -0,0 +1,12 @@
+clc
+clear
+
+U=22; //Internal Energy in kJ/s
+P2=0.95*1000; //Pressure in kPa
+V2=0.09; //Volume in m^3/s;
+P1=0.5*1000;
+V1=0.15;
+X=(P2*V2)-(P1*V1);
+H=U+X;
+
+printf('Change in Enthalpy: %2.1f kJ/s',H);
diff --git a/2339/CH1/EX1.1.6/Ex1_6.sce b/2339/CH1/EX1.1.6/Ex1_6.sce
new file mode 100755
index 000000000..b1ec7dc7e
--- /dev/null
+++ b/2339/CH1/EX1.1.6/Ex1_6.sce
@@ -0,0 +1,15 @@
+clc
+clear
+
+Th=0.22; //Thermal Efficiency
+Hr=1260; //Heat Rejected in MJ/hr
+CV=42; //Calorific Value of Coal
+X=1-Th;
+HI=Hr/X; //Heat Input in MJ/hr
+
+O=((HI-Hr)*1000)/3600; //Output
+Mf=HI/CV; //Mass of Fuel Used
+
+printf('Power Output is %2.2f kW',O);
+printf('\n');
+printf('Mass of Fuel used per hour: %2.1f kg/hr',Mf);
diff --git a/2339/CH1/EX1.1.7/Ex1_7.sce b/2339/CH1/EX1.1.7/Ex1_7.sce
new file mode 100755
index 000000000..61849dd79
--- /dev/null
+++ b/2339/CH1/EX1.1.7/Ex1_7.sce
@@ -0,0 +1,11 @@
+clc
+clear
+
+m=2; //mass in kg
+T1=30+273; //Temperature in K
+T2=60+273;
+Cp=4.187;
+T=T2/T1;
+X=double(log(T));
+S=m*Cp*X;
+printf('Entropy Change of Water: %1.4f kJ/K',S);
diff --git a/2339/CH1/EX1.1.8/Ex1_8.sce b/2339/CH1/EX1.1.8/Ex1_8.sce
new file mode 100755
index 000000000..3ae88ac7f
--- /dev/null
+++ b/2339/CH1/EX1.1.8/Ex1_8.sce
@@ -0,0 +1,16 @@
+clc
+clear
+
+//Declaring Values
+m=600; //Mass in kg
+z=50000; //Distance in meters
+V=2500000; //Velocity in m/hr
+g=7.9; //Gravitational Field in m/s^2
+Vel=V/3600;
+KE=(0.5*m*Vel*Vel)/1000000; //Kinetic Energy in MJ
+PE=(m*g*z)/1000000; //Potential Energy in MJ
+
+//Displaying Results
+printf('The Kinetic Energy is %3.2f MJ',KE);
+printf('\n')
+printf('The Potential Energy is %3.2f MJ',PE);