Lab 8 – Curve Fitting

Problem 1 In this problem, we are tasked to create a function that either adds or subtracts polynomial vectors, or the coefficients of a polynomial. To do this I simply used a switch statement, and had cases for either “add” or “sub”, as well as accounting for having different sized vectors. To battle that, a […]