I m on mobile atm or i would look it up for you. But just google sinus and cosinus. Wiki gives a good explenation.
I think you x is the point the parabol starts and y the the top of the parabol.
Im not really good at this stuff. Mostly do some math research and then find the right calculation thru trail and error.
Technically not quite right, sin and cosine give curves that are related to the circle. Parabolas are from the y = x^2 function and accurately represent gravity (so if the coins are to be grabbed in a jump, that’s what you want…they’ll spread out over the jump and fall curve).
That said, sin and cosine are very very handy functions to understand and can be used for all kinds of smooth interpolation etc. And in this case they may give you a perfectly good result, just try it and see…!
How to implement? You need a “domain” (x or horizontal) and a “range” (y or vertical) and the function which connects them (sin, cosine, x^2). Once you get the minimum and maximums of x and y figured out, you should be all set…you can plug in values for x that are separated linearly (like 0.1, 0.2, 0.3, using a for loop) and your y-values will respond to the function you choose.
Try this awesome graphing calculator and see what the different functions do: