Question

Please answer everything fully and show steps!3. The set of the following data points is given days 14 22 30 38 46 X 320 490540 500 480 (a) Determine the natural cubic spl

0 0
Add a comment Improve this question Transcribed image text
Answer #1

4 38 2 46 22 30 (4 M90 S40 4-80 320 heeawice palynaminl f dere 0), (14)b (2-14)t (-14)+d, Mer 222 ,)a, (2-22)t(-22)C(7-22) +d48a2t2b3 - 2b4 (14 Natveal cube tine Comditen: S,) = S o IS S(48)=4841254 ale -3s 2735d 22-0 1 2 7168 b21065 276 95 a 2- 35 ,

restart;
with(Student[NumericalAnalysis]); with(plots);
a[1] := -355/7168;
a[2] := 95/7168;
a[3] := 395/7168;
a[4] := -135/7168;
b[1] := 0;
b[2] := -1065/896;
b[3] := -195/224;
b[4] := 405/896;
c[1] := 2735/112;
c[2] := 835/56;
c[3] := -25/16;
c[4] := -275/56;
d[1] := 320;
d[2] := 490;
d[3] := 540;
d[4] := 500;
T1 := piecewise(x < 22, a[1]*(x-14)^3+b[1]*(x-14)^2+c[1]*(x-14)+d[1], x < 30, a[2]*(x-22)^3+b[2]*(x-22)^2+c[2]*(x-22)+d[2], x < 38, a[3]*(x-30)^3+b[3]*(x-30)^2+c[3]*(x-30)+d[3], x > 38, a[4]*(x-38)^3+b[4]*(x-38)^2+c[4]*(x-38)+d[4]); P1 := plot(T1, x = 14 .. 46, numpoints = 1000, discont = false);
xy := [[14, 320], [22, 490], [30, 540], [38, 500], [46, 480]];
P2 := pointplot(xy);
display(P1, P2);

500- 450 400- 350- 45 15 20 25 30 35 40 x

Add a comment
Know the answer?
Add Answer to:
Please answer everything fully and show steps! 3. The set of the following data points is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • To be done by hand 3. The set of the following data points is given days...

    To be done by hand 3. The set of the following data points is given days X 14 22 490 30 38 540 380 у 320 (a) Determine the natural cubic splines that fit the data. (b) Determine the clamped-clamped splines that fit the data (c) Determine the interpolated value of y for r = 27 both from (a) and (b). (d) Plot of the data points and the interpolating polynomials.

  • 3. The set of the following data points is given days x 14 22 30 y...

    3. The set of the following data points is given days x 14 22 30 y 320 490 540 38 380 (a) Determine the natural cubic splines that fit the data. (b) Determine the clamped-clamped splines that fit the data (e) Determine the interpolated value of y for x = 27 both from (a) and (b). (d) Plot of the data points and the interpolating polynomials.

  • Determine the clamped-clamped splines that fit the data 3. The set of the following data points...

    Determine the clamped-clamped splines that fit the data 3. The set of the following data points is given days x 14 22 30 38 490 540 380 y 320

  • Task 2 (30 points +4 for comments): Write computer code that uses Lagrange's nterpolating Polynom...

    matlab code Task 2 (30 points +4 for comments): Write computer code that uses Lagrange's nterpolating Polynomials to fit an interpolating polynomial to the data for Task 2 in the excel file and use the polynomials to interpolate the data set and evaluate the function value at x values of 8.4, 7.6, and 6.7 What are the first through 3rd order estimations for the interpolated function value at> 8.4 and x 7.6? a) b) Extrapolate the data set to determine...

  • Problem 3 You are given the following data: 510 15 20 25 30 35 40 45 50 Y 17 24 31 33 37 37 40 40 42 41 a. Use line...

    Problem 3 You are given the following data: 510 15 20 25 30 35 40 45 50 Y 17 24 31 33 37 37 40 40 42 41 a. Use linear regression to fit a straight line, a parabola, and a cubic function to the data b. Plot the data and the different curves on the same plot c. What are the errors associated with the derived parameters for the different curves? d. Which curve best aligns with the given...

  • 9. Which of the following methods can interpolate a set of data points with a function...

    9. Which of the following methods can interpolate a set of data points with a function that is differentiable at each data point? Linear Splines LU Decomposition Power Method . Bisection Method Cubic Splines 10. Assume that you have a nonlinear spring, with spring force given by F() k2 You can computework done over a displacement of x = a to x = b, by performing the integration, OF(x)dz. What will be the error incurred if Simpson's rule is used...

  • please provide matlab solution too 3. Butterball recommends the following cooking times for turkeys at 325...

    please provide matlab solution too 3. Butterball recommends the following cooking times for turkeys at 325 °C. size, (lbs) un-stuffed t, (h) stuffed t, (h) 2.00 2.25 6. 2.50 2.75 10 3.00 3.50 18 3.50 4.50 22 4.00 5.00 24 4.50 5.50 30 5.00 6.25 (a) Plot the recommended cooking time as a function of turkey size for un-stuffed and stuffed turkeys on the same plot. (b) For each of the two menu options, find the third-order interpolating polynomial (by...

  • I want the solution as programm and I need the steps of solution c floted 4. The following points are given X 1...

    I want the solution as programm and I need the steps of solution c floted 4. The following points are given X 1 4 5 6 7 8 10 Y 2 3 11 13 17 22 26 25 37 40 Fit the data with a power and exponential functions, Make a plot of the points an the new functions. . Poyft(P) a- Poly fit e (P use Poly fit c floted 4. The following points are given X 1 4...

  • Here is a data set of 10 points: 0.8027511 0.2906764 0.5842545 3.2468615 1.6663418 1.8317143 1.5108914 0.3690507...

    Here is a data set of 10 points: 0.8027511 0.2906764 0.5842545 3.2468615 1.6663418 1.8317143 1.5108914 0.3690507 0.4350530 1.1398507 What is the mean, variance, and standard deviation of the sample? Include confidence limits with your estimates. Does the data fit a normal distribution? Does the data fit an exponential distribution? To determine if the data fits a given distribution, I would suggest a plot.

  • HW8_4 Fit the data in the table using linear regression. Plot the data points as well as the regr...

    Please write the codes in MATLAB. HW8_4 Fit the data in the table using linear regression. Plot the data points as well as the regression line. Determine the value of y whenx = 7.2 and print it to the screen using fprintf Then repeat the process, regressing in the opposite way (x vs y) to find the equation of the line needed to determine the value of x when y is 15 Optional brain food: Do you get the same...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT