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 /548/DEPENDENCIES/5_08data.sci | |
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 '548/DEPENDENCIES/5_08data.sci')
-rwxr-xr-x | 548/DEPENDENCIES/5_08data.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/548/DEPENDENCIES/5_08data.sci b/548/DEPENDENCIES/5_08data.sci new file mode 100755 index 000000000..27e00ade3 --- /dev/null +++ b/548/DEPENDENCIES/5_08data.sci @@ -0,0 +1,8 @@ +//consider an airfoil with chord length c and the running distance x measured along the chord.The leading edge is located at x/c=0 and the trailing edge x/c=1.
+//pressure coefficient variation(Cpu for upper and Cpl for lower):
+disp("Cpu=1-300*(x/c)^2 for 0<x/c<0.1");
+disp("Cpu=-2.2277+2.2277*(x/c) for 0.1<x/c<1.0");
+disp("Cpl=1-0.95*(x/c) for 0<x/c<1.0");
+//putting the value of x/c as and integrating (Cpl-Cpu)dy from 0 to 1 we will get normal force coefficient Cn
+Cn=integrate('1-0.95*y','y',0,1.0)-integrate('1-300*y^2 ','y',0,0.1)-integrate('-2.2277+2.2277*y','y',0.1,1.0)
+
|