From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 409/CH7/EX7.1/Example7_1.sce | 14 ++++++++++++++ 409/CH7/EX7.2/Example7_2.sce | 8 ++++++++ 409/CH7/EX7.3/Example7_3.sce | 8 ++++++++ 409/CH7/EX7.4/Example7_4.sce | 16 ++++++++++++++++ 409/CH7/EX7.5/Example7_5.sce | 12 ++++++++++++ 5 files changed, 58 insertions(+) create mode 100755 409/CH7/EX7.1/Example7_1.sce create mode 100755 409/CH7/EX7.2/Example7_2.sce create mode 100755 409/CH7/EX7.3/Example7_3.sce create mode 100755 409/CH7/EX7.4/Example7_4.sce create mode 100755 409/CH7/EX7.5/Example7_5.sce (limited to '409/CH7') diff --git a/409/CH7/EX7.1/Example7_1.sce b/409/CH7/EX7.1/Example7_1.sce new file mode 100755 index 000000000..570247d4e --- /dev/null +++ b/409/CH7/EX7.1/Example7_1.sce @@ -0,0 +1,14 @@ +clear ; +clc; +// Example 7.1 +printf('Example 7.1\n\n'); +//Page no.169 +// Solution + +v_ts = 105.0 ;// velocity of train wrt station-[cm/s] +v_mt = 30.0 ;// velocity of man wrt train-[cm/s] +v_hm = 2.0 ;// velocity of hot dough wrt man-[cm/s] +v_am = 1.0 ;// velocity of ant wrt man- [cm/s] +// By careful reading of problem you can see that ant is moving away from man's mouth at 1 cm/s , so ant's velocity wrt station is say v_as +v_as = v_ts + v_mt + v_am; +printf(' The ant is moving towards station at the rate of %.1f cm/s.\n',v_as); \ No newline at end of file diff --git a/409/CH7/EX7.2/Example7_2.sce b/409/CH7/EX7.2/Example7_2.sce new file mode 100755 index 000000000..d5224fadc --- /dev/null +++ b/409/CH7/EX7.2/Example7_2.sce @@ -0,0 +1,8 @@ +clear ; +clc; +// Example 7.2 +printf('Example 7.2\n\n'); +// Page no. 169 +// Solution Fig. E7.2 + +printf("Drawing as in fig E7.2 is not possible with scilab.") \ No newline at end of file diff --git a/409/CH7/EX7.3/Example7_3.sce b/409/CH7/EX7.3/Example7_3.sce new file mode 100755 index 000000000..b8f750315 --- /dev/null +++ b/409/CH7/EX7.3/Example7_3.sce @@ -0,0 +1,8 @@ +clear ; +clc; +// Example 7.3 +printf('Example 7.3\n\n'); +// Page no. 171 +// Solution Fig. E7.3 + +printf("Drawing as in fig E7.3 is not possible with scilab.") \ No newline at end of file diff --git a/409/CH7/EX7.4/Example7_4.sce b/409/CH7/EX7.4/Example7_4.sce new file mode 100755 index 000000000..d4ac12bf4 --- /dev/null +++ b/409/CH7/EX7.4/Example7_4.sce @@ -0,0 +1,16 @@ +clear ; +clc; +// Example 7.4 +printf('Example 7.4\n\n'); +//Page no. 180 +// Solution + +n_un= 7 ;// Number of unknowns in the given problem- 3 values of xi and 4 values Fi +n_ie = 5 ;// Number of independent equations +// Summary of independent equations +// Three material balances:CH4,C2H6 and N2 +// One specified ratio: moles of CH4 to C2H6 equal 1.5 +// One summation of mole fraction in mixture equals 1 +d_o_f = n_un-n_ie ;// No. of degree of freedom + +printf('Number of degree of freedom for the given system is %i .\n',d_o_f); \ No newline at end of file diff --git a/409/CH7/EX7.5/Example7_5.sce b/409/CH7/EX7.5/Example7_5.sce new file mode 100755 index 000000000..ff9bfcab3 --- /dev/null +++ b/409/CH7/EX7.5/Example7_5.sce @@ -0,0 +1,12 @@ +clear ; +clc; +// Example 7.5 +printf('Example 7.5\n\n'); +//Page no. 182 +// Solution + +n_un=8 ;// Number of unknowns in the given problem- 8 values of mole fractions +n_ie =6 ;// Number of independent equations- six elemental balances +d_o_f= n_un-n_ie ;// Number of degree of freedom +printf('Number of degree of freedom for the given system is %i .\n',d_o_f); +//Note: Experiments show that the change in CH1.8O.5N.16S.0045P.0055 and the change in C(alpha)H(beta)O(gamma) prove to be related by amount of biomass present and the maintenance coefficient(the moles of substrate per mole of biomass per second) so the respective quantities cannot be chosen independently.Consequently with this extra constraint,only one degree of freedom remains to be specified, the basis \ No newline at end of file -- cgit