Physics homework help. I need a program that includes the following three functions. Functions squareEach(nums)In this function, nums is a list of numbers. It modifies the list by squaring each entry. sumList(nums)In this function, nums is a list of numbers. It returns the sum of numbers in the list. toNumbers(strList)In this function, strList is a list of strings, each of which represents a number. It modifies each entry in the list by converting it to a number.Use the functions above to implement a program that computes the sum of the squares of numbers read from the file.Include a file with one line and a list of numbers, each separated by a space.