We are doing linear regression for a project in class. I have to write a function. I've tried static casting and other ways of changing this "int n" to a double so it doesn't throw an error? Or am I completely on the wrong train of thought?We are doing linear regression for a project in