summaryrefslogtreecommitdiff
path: root/914/CH15/EX15.1/ex15_1.sce
blob: 9a70958e9bbef369d5b3271996bd91bf7251d4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clc;
warning("off");
printf("\n\n example15.1 - pg760");
// given
r=[10 20 50 100 200 400 600 1000 2000]
tau=[2.2 3.1 4.4 5.8 7.4 9.8 11.1 13.9 17.0]
tau=tau*(10^-4);
clf;
xtitle("basic shear diagram for the fluid","shear rate","shear stress");
plot2d("ll",r,tau);
// the data falls nearly on a straight line
// from the graph the slope and the intercept are
slope=0.3841;
intercept=9.17046;
// from the relation tau=K*(-r)^n;
K=exp(intercept);
n=slope
disp(K,"K=",n,"n=");
printf("\n\n The fluid is pseudo plastic , since the slope is less than 1 ");