Page 1 of 1

7. (Coding) In this problem we will write code to create a program which takes as input 2 arrays of numbers, (x1,x2,...,

Posted: Sun Jul 03, 2022 12:00 pm
by answerhappygod
7 Coding In This Problem We Will Write Code To Create A Program Which Takes As Input 2 Arrays Of Numbers X1 X2 1
7 Coding In This Problem We Will Write Code To Create A Program Which Takes As Input 2 Arrays Of Numbers X1 X2 1 (165.02 KiB) Viewed 19 times
7. (Coding) In this problem we will write code to create a program which takes as input 2 arrays of numbers, (x1,x2,...,xn) and (y₁, 92,..., yn), and outputs the equations of the natural cubic spline between these points. 1 (a) Create a function which takes as an input these two arrays and outputs the matrix and solution vector to find our vector c. (b) Use a (built-in) linear system of equations solver to find the vector c based on the outputs from (a). (c) Use your vector c as well as your points x and y to find b and d.