Hi i am new on the forum. I am making a smartphone application and this

is the first time i’m working with algorithms.

I am looking for algorithms that can convert x and y value on a Cartesian plane (x,y) to a angle. The angle can be 0-360 degrees or 0-2π radians.

Does anyoneknow of such algorithms?

I have looked for geometric algorithms on Google. I have also found a list ofalgorithms on Wikipedia, but no luck finding this particular algorithm.

Also are there search databases that solely contain algorithms?

Below is a visual presentation of the conversion the algorithm has to do:

Thank you in Advance!