Please help me to do this on C program. Here is final output: Write a function n
ID: 3801950 • Letter: P
Question
Please help me to do this on C program.
Here is final output:
Write a function named SumSquaredErrors as follows: Inputs: vector1 ouble type), vector2 (double type), length (1nt type), where length is the length of both vectors Output: sum of the squared errors between elements in the two vectors Pseudocode: Use a for loop to loop through the vectors element-by-element, compute the squared error for each pair of values, and sum the squared error values Testing: Call your function from main 0 with x [1, 2, 3, 4, 51. y 2. 3, 4, 5, 6], and length 5. Do a hand calculation to check your answer. Final output: Call your function from main 0 with x [1, 2, 3, 4, 5], y 12, 4, 6, 8, 10], and length 5. Use printf to display the sum of the squared errors