- 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 18 times
7. (Coding) In this problem we will write code to create a program which takes as input 2 arrays of numbers, (x1,x2,...,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
7. (Coding) In this problem we will write code to create a program which takes as input 2 arrays of numbers, (x1,x2,...,
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.