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 /51/CH10/EX10.8/10_8.sce | |
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 '51/CH10/EX10.8/10_8.sce')
-rwxr-xr-x | 51/CH10/EX10.8/10_8.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/51/CH10/EX10.8/10_8.sce b/51/CH10/EX10.8/10_8.sce new file mode 100755 index 000000000..5724fcccf --- /dev/null +++ b/51/CH10/EX10.8/10_8.sce @@ -0,0 +1,18 @@ +clc;
+clear;
+//A=b*y
+//p=b+2*y
+//Q=K*A*(Rh^(2/3))*(S0^0.5)/n
+//dA/dy=0
+//from the above, we get
+aspratio=2;//asp ratio=aspect ratio=b/y
+disp(aspratio,"The aspect ratio=")
+asprat=0.5:0.01:5;
+count=1;
+for i=0.5:0.01:5
+ Qrat(count)=(((2*sqrt(1/2))+(sqrt(2)))/((2*sqrt(1/i))+(sqrt(i))))^(2/3);
+ count=count+1;
+end
+plot2d(asprat,Qrat,rect=[0,0.8,5,1.05])
+xtitle("Q/Qmax vs b/y","b/y","Q/Qmax")
+
|