Question: EGR 1 2 5 Computer Programming for Engineers Module 8 - Object Oriented Programming ( OOP ) HW 8 Create a video solution for the
EGR Computer Programming for Engineers
Module Object Oriented Programming OOP
HW
Create a video solution for the following problem. Start with the requirements input
data manipulationcalculations output Then explain your source code line by line
and run the code with the inputs given below. You must include pseudocode. The
video should be no longer than min Upload video link to Canvas.
Repeat HW using an OOP approach. Create a linear regression class with a minimum
of user defined functions:
Populate two vectors X using data in linreg.txt you must use file input.
Multiply two vectors
Square a vector
Calculate the slope of the best fit line
Calculate the yintercept of the best fit line
The force and displacement data is in the file linreg.txt You can not modify
linreg.txt you must use it as is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
