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 --- 839/CH29/EX29.2/Example_29_2.sce | 74 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100755 839/CH29/EX29.2/Example_29_2.sce (limited to '839/CH29/EX29.2/Example_29_2.sce') diff --git a/839/CH29/EX29.2/Example_29_2.sce b/839/CH29/EX29.2/Example_29_2.sce new file mode 100755 index 000000000..9ed68b5f3 --- /dev/null +++ b/839/CH29/EX29.2/Example_29_2.sce @@ -0,0 +1,74 @@ +//clear// +clear; +clc; + +//Example 29.2 +//Given +n = 1:7; +beeta = 1.3; +//From Table 29.2 +Dpn = [3.327,2.362,1.651,1.168,0.833,0.589,0.417]'; //[mm] +Dpu = Dpn; //[mm] +xn0 = [0.0251,0.125,0.3207,0.2570,0.1590,0.0538,0.0210]'; +Su(1) = 10*10^-4; //[s^-1] +//B(1) = 1; +//Solution + +//(a) +//For the 4/6-mesh materials there is no input from coarser +//material and applying Eq.(29.11). At the end of time tT +x1 = xn0(1)*0.9; +tT = 1/Su(1)*log(xn0(1)/x1); //[s] +disp('s',tT,'Required time is'); + +//(b) + +//Assuming Su varies with Dp^3 +for i = 1:length(Dpn)-1 + Su(i+1) = Su(i)*(Dpn(i+1)/Dpn(i))^3; //[s^-1] +end +for i = 1:length(Dpn) + for j = 1:length(Dpu) +//Using Eq.(29.13) + if (j