diff options
Diffstat (limited to '964/CH17/EX17.3.b/17_3b.sce')
-rwxr-xr-x | 964/CH17/EX17.3.b/17_3b.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/964/CH17/EX17.3.b/17_3b.sce b/964/CH17/EX17.3.b/17_3b.sce new file mode 100755 index 000000000..d212b0959 --- /dev/null +++ b/964/CH17/EX17.3.b/17_3b.sce @@ -0,0 +1,16 @@ +//clc()
+s = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15];
+v = [10,16.3,23,27.5,31,35.6,39,41.5,42.9,45,46,45.5,46,49,50];
+g = 9.8//m/s^2
+m = 68.1;//kg
+c = 12.5//kg/s
+for i = 1:15
+ v1(i) = g*m*(1 - exp(-c*s(i)/m))/c;
+ v2(i) = g*m*s(i)/(c*(3.75+s(i)));
+end
+disp(s,"time = ")
+disp(v,"measured v =")
+disp(v1,"using equation(1.10) v1 = ")
+disp(v2,"using equation((17.3)) v2 = ")
+plot2d(v,v2);
+xtitle('v vs v2','v','v2');
|