Create xand y vectors to represent the following data: 10 23 20 45 30 60 40 82 50 111 60 140 70 167 80 198 90 200 100 220 1. Plot the data on an x-y plot. 2. Usc lincar interpolation to approximate the valuc of y when x 15. 3. Usc cubic splinc interpolation to approximate the value of y when x = 15. 4. Usc lincar interpolation to approximate the valuc of x when y= 80. 5. Usc cubic spline interpolation to approximatc the value of xwhen y = 80. %3D

icon
Related questions
Question
Create xand y vectors to represent the following data:
10
23
20
45
30
60
40
82
50
111
60
140
70
167
80
198
90
200
100
220
1. Plot the data on an x-y plot.
2. Usc lincar interpolation to approximate the value of y when x 15.
3. Usc cubic spline interpolation to approximate the valuc of ywhen x 15.
4. Usc lincar interpolation to approximate the value of x when y 80.
5. Usc cubic splinc interpolation to approximate the value of x when y= 80.
6. Usc cubic spline interpolation to approximate yvalucs for xvalues
cvenly spaced bectween 10 and 100 at intervals of 2.
7. Plot the original data on an xy plot as data points not connected by a
linc. Also, plot the values calculated in Excrcise 6.
Transcribed Image Text:Create xand y vectors to represent the following data: 10 23 20 45 30 60 40 82 50 111 60 140 70 167 80 198 90 200 100 220 1. Plot the data on an x-y plot. 2. Usc lincar interpolation to approximate the value of y when x 15. 3. Usc cubic spline interpolation to approximate the valuc of ywhen x 15. 4. Usc lincar interpolation to approximate the value of x when y 80. 5. Usc cubic splinc interpolation to approximate the value of x when y= 80. 6. Usc cubic spline interpolation to approximate yvalucs for xvalues cvenly spaced bectween 10 and 100 at intervals of 2. 7. Plot the original data on an xy plot as data points not connected by a linc. Also, plot the values calculated in Excrcise 6.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer