User:Eas4200c.f08.gator.edwards/Matlab Program Continued

The end goal of the MATLAB program for this homework is to compute the torsion constant J for the three-cell airfoil. The first program shown is the validation for the method of area computation. This is done by using the code on a circle.

Next it needs to be shown that the area computed will turn out the same regardless of where the point P0 is placed. This will be done with the original program for finding the area and centroid of a NACA 4-digit airfoil.

Now we can move on to computing the torsion constant J. The first program is a modified version of the above airfoil program. It calculates J for a single-cell airfoil. It also plots the airfoild but this plot is irrelevant so it will be left out (the plot can be seen in Homework 3). The second program is a further modified version of the above program, this time modified to calculate J for a three-cell airfoil. The plot from this program is included since this is the first time addressing the three-cell airfoil.

The value of J from the three-cell airfoil is seen to be three orders of magnitude higher than that of the single-cell airfoil. It is desirable to have a high J value so a three-cell airfoil is clearly preferable to a single-cell airfoil.