Question: Problem 9 . 7 The drag coefficient of a spherical ball varies as a function of the Reynolds number. The following drag coefficients were measured

Problem 9.7
The drag coefficient of a spherical ball varies as a function of the Reynolds number. The following drag coefficients were measured as a function of the Reynolds number with high precision.
Knowing that the data were collected with high precision, you want to use spline interpolation to predict the drag coefficients at other Reynolds numbers. However, unlike Problem 12.1, we only have 3 data points in the sample. Divide up the data points into an appropriate number of intervals and fit one cubic polynomial to each interval.
The following questions may help you modify your code from Problem 12.1:
- How many cubic polynomials can you fit to 3 data points?
- Given the general form for a cubic polynomial \(\left(y=a x^{3}+b x^{2}+c x+d\right)\) and the answer to the previous question, how many unknown coefficients do you have?
- How can you find the required number of equations to solve for the unknown coefficients? HINT: Follow the same process as we used to find the 12 equations to fit 3 cubic splines to 4 data points. Once you find the required number of equations, stop!
Make sure that your MATLAB function accomplishes the following tasks:
- Perform spline interpolation with cubic polynomials for 3 data points.
- Predict one or more new drag coefficients at one or more Reynolds numbers (make the code flexible so that the user can choose the number of predictions).
- Plot the experimental data, the cubic polynomials, and the predicted points.
Test Case:
For a Reynolds number of \(29.9\mathrm{e}-4\), the predicted drag coefficient is 0.3910.
Problem 9 . 7 The drag coefficient of a spherical

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!