Design a function in python to do the following “triangulation” method:
I have a process in excel that I want to replicate in Python, but I haven’t been able to figure out a good way of doing it. I want this process to be written as a function if possible as I am going to be running a lot of data through it. As you can see from my photos, the function doesn’t reference the Input accumulated row at all, but feel free to use it if you feel it would be helpful. The input data doesn’t have any rhyme or reason to it, they are just dummy values for this example.