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 /479/CH1 | |
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 '479/CH1')
-rwxr-xr-x | 479/CH1/EX1.1/Example_1_1.sce | 18 | ||||
-rwxr-xr-x | 479/CH1/EX1.2/Example_1_2.sce | 11 | ||||
-rwxr-xr-x | 479/CH1/EX1.3/Example_1_3.sce | 11 | ||||
-rwxr-xr-x | 479/CH1/EX1.4/Example_1_4.sce | 19 | ||||
-rwxr-xr-x | 479/CH1/EX1.5/Example_1_5.sce | 36 | ||||
-rwxr-xr-x | 479/CH1/EX1.6/Example_1_6.sce | 19 |
6 files changed, 114 insertions, 0 deletions
diff --git a/479/CH1/EX1.1/Example_1_1.sce b/479/CH1/EX1.1/Example_1_1.sce new file mode 100755 index 000000000..915204987 --- /dev/null +++ b/479/CH1/EX1.1/Example_1_1.sce @@ -0,0 +1,18 @@ +//Chemical Engineering Thermodynamics
+//Chapter 1
+//Introduction
+
+//Example 1.1
+clear;
+clc;
+
+//Given
+m = 100;//m is the mass of the object in kg
+a = 10;//a is the acceeleration due to gravity in m/s^2
+
+//To determine the force exerted
+F = m*a;//F is the force exerted by the object in kg
+mprintf('Force exerted by the object= %f N',F);
+F = (1/9.8065)*m*a;//F is the force exerted by the object in kgf
+mprintf('\n Force exerted by the object= %f N',F);
+//end
\ No newline at end of file diff --git a/479/CH1/EX1.2/Example_1_2.sce b/479/CH1/EX1.2/Example_1_2.sce new file mode 100755 index 000000000..6a0bf072a --- /dev/null +++ b/479/CH1/EX1.2/Example_1_2.sce @@ -0,0 +1,11 @@ +//Chemical Engineering Thermodynamics
+//Chapter
+//Introduction
+
+//Example 1.2
+clear;
+clc;
+
+//Given
+//The given example is a theoretical problem and it does not involve any numerical computation
+//end
\ No newline at end of file diff --git a/479/CH1/EX1.3/Example_1_3.sce b/479/CH1/EX1.3/Example_1_3.sce new file mode 100755 index 000000000..40c1957c5 --- /dev/null +++ b/479/CH1/EX1.3/Example_1_3.sce @@ -0,0 +1,11 @@ +//Chemical Engineering Thermodynamics
+//Chapter
+//Introduction
+
+//Example 1.3
+clear;
+clc;
+
+//Given
+//The given example is a theoretical problem and it does not involve any numerical computation
+//end
\ No newline at end of file diff --git a/479/CH1/EX1.4/Example_1_4.sce b/479/CH1/EX1.4/Example_1_4.sce new file mode 100755 index 000000000..18d9ab207 --- /dev/null +++ b/479/CH1/EX1.4/Example_1_4.sce @@ -0,0 +1,19 @@ +//Chemical Engineering Thermodynamics
+//Chapter 1
+//Introduction
+
+//Example 1.4
+clear;
+clc;
+
+//Given
+h = 100;//h is the height of the water fall in m
+n = .855;//n is the efficiency of the turbine
+g = 9.8;//g is the acceleration due to gravity in m/(s^2)
+E = 100*10*3600;//E is the potential enery of water available to the bulb for 10 hours in watt or J/s
+
+//To determine the mass of water required
+m = (E/(g*h*n));//m is the mass of water required for lighting the bulb for 10 hours in Kg
+mprintf('Mass of water required for lighting the bulb for 10 hours in Kg= %f Kg',m);
+mprintf('\n Mass of water required for lighting the bulb for 10 hours in tonnes= %f Kg',m/907.2);
+//end
diff --git a/479/CH1/EX1.5/Example_1_5.sce b/479/CH1/EX1.5/Example_1_5.sce new file mode 100755 index 000000000..e2f416143 --- /dev/null +++ b/479/CH1/EX1.5/Example_1_5.sce @@ -0,0 +1,36 @@ +//Chemical Engineering Thermodynamics
+//Chapter 1
+//Introduction
+
+//Example 1.5
+clear;
+clc;
+
+//Given
+n = 1;//n is the Kg mole of an ideal gas
+P = 700*(10^4);//P is the pressure of the system in N/(m^2)
+W = 45;//W is the weight of the mass in Kg
+M = 20;//M is the weight of the piston and piston rod together in Kg
+T = 300;//T is the constant temperature of the bath in K
+h = .4;//h is the height difference of the piston after expansion in m
+
+//To calculate the work obtained
+a = (10^-4);//a is the cross sectional area of the cylinder in m^2
+V = h*a;//V is the volume changed as gas expands in m^3
+
+//(i). If gas alone is the system
+//1Kgf = 9.8065Nm
+P1 = ((W+M)*9.8065)/(10^-4);//P1 is the resisting pressure when the gas confined in the cylinder taken as a system
+W1 = P1*V;//W1 is the work done if the gas confined in the cylinder us taken as system
+mprintf('Work done by the system if the gas confined in the cylinder is taken as a system is %f Nm',W1);
+
+//(ii). If gas + piston + piston rod is a system
+P2 = ((W*9.8065)/(10^-4));//P2 is the resisting pressure when the gas plus piston plus piston rod is taken as a system
+W2 = P2*V;//W2 is the Work done by the system if the gas plus piston plus piston rod is taken as a system
+mprintf('\n Work done by the system if the gas plus piston plus piston rod is taken as system is %f Nm',W2);
+
+//(iii). If gas + piston + piston rod +weight is system
+P3 = 0;//P3 is the resisting pressure when the gas plus piston plus piston rod plus weight is taken as a system
+W3 = P3*V;//W3 is the work done by the system if the gas plus piston plus piston rod plus weight is taken as a system
+mprintf('\n Work done by the system if the gas plus piston plus piston rod plus weight is taken as a system is %f',W3);
+//end
\ No newline at end of file diff --git a/479/CH1/EX1.6/Example_1_6.sce b/479/CH1/EX1.6/Example_1_6.sce new file mode 100755 index 000000000..f64b60019 --- /dev/null +++ b/479/CH1/EX1.6/Example_1_6.sce @@ -0,0 +1,19 @@ +//Chemical Engineering Thermodynamics
+//Chapter 1
+//Introduction
+
+//Example 1.6
+clear;
+clc;
+
+//Given
+n = 1;//n is the Kg mole of ideal gas.
+P1 = 700*(10^4);//P1 is the initial pressure of the system in N/(m^2)
+P2 = 638*(10^4);//P2 is the final pressure of the system in N/(m^2)
+T = 300;//T is temperature of the system in K
+R = 8314.4;//R is gas constant in Nm/Kgmole deg K
+
+//To calculate the work done
+W = n*R*T*log(P1/P2);//W is the work done by the system in Nm
+mprintf('Work done by the system is %4.2e Nm',W);
+//end
\ No newline at end of file |