Question: Text File Reading Problem In this problem, you will need to read in data from a text file called gregory _ re 2 . 8
Text File Reading Problem
In this problem, you will need to read in data from a text file called "gregoryreMtxt
This is real wind tunnel data from the famous NACA NASA wind tunnel test series. Specifically, this is a test conducted at degrees angle of attack.
The first column of data is normalized location along the airfoil.
The second column of data is the calculated coefficient of pressure from lift and drag measurements.
The calculation for Cp is:
Extract the Cp data from the text file and use the above equation to find the actual pressure they measured.
Note that for the experiment the approximate constants were:
In order to solve the problem you must:
Read the text data in a variable called data. Observe the output. Sometimes data is messy and will come with NaN values.
Exclude the NaN columns from data and save the data to a variable called fixedData.
Save the Cp data in a variable called
Implement the equation above to solve for the pressure, p Save the calculated pressure data in a variable called
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
