Using data from two separate lists in one function?
Basically I have a part of my program (it's for Vector solving) that is supposed to take data from two lists (listVectorMagnitude and listVectorAngle), and then run them through a function
in a separate class (vectorXComponent), and then return the value. How exactly would I go about taking the first value in listVectorMagnitude, the first value in listVectorAngle, and then use them as parameters in the vectorXComponent function? It would iterate over this process for as many values are in the lists. Thank you.
Using data from two separate lists in one function?
===

Basically I have a part of my program (it's for Vector solving) that is supposed to take data from two lists (listVectorMagnitude and listVectorAngle), and then run them through a function
in a separate class (vectorXComponent), and then return the value. How exactly would I go about taking the first value in listVectorMagnitude, the first value in listVectorAngle, and then use them as parameters in the vectorXComponent function? It would iterate over this process for as many values are in the lists. Thank you.