diff options
Diffstat (limited to '548/CH6/EX6.19.c/6_19c.sce')
-rwxr-xr-x | 548/CH6/EX6.19.c/6_19c.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/548/CH6/EX6.19.c/6_19c.sce b/548/CH6/EX6.19.c/6_19c.sce new file mode 100755 index 000000000..33bd6e735 --- /dev/null +++ b/548/CH6/EX6.19.c/6_19c.sce @@ -0,0 +1,8 @@ +pathname=get_absolute_file_path('6_19c.sce')
+filename=pathname+filesep()+'6_19data.sci'
+exec(filename)
+Cl_Cd=sqrt(Cdo*%pi*e*AR)/(2*Cdo);//ratio(Cl/Cd)
+disp(Cl_Cd)
+R=(n/c)*Cl_Cd*log(Wo/(W-W1))*0.62137*10^-3 ;//range in miles
+printf("\Answer:\n")
+printf("\n\maximum range: %f miles\n\n",R)
\ No newline at end of file |