I am trying to code a kind of parabolic curve to show on an LCD screen, however I can't seem to work it out. I need to be able draw it from the same spot at the bottom of the screen, but change its how aggressively curves. The closest I have is:
for (int i = 48; i > 0; i--){
y = i;
x = 70 - 5y^(0.33);
}
This code makes the first y value equal to 48 and counts down to 0. However this is not useful as I don't know the significance of each number, I have just made them up by trial and error (I have been working on this curve for literally a week now and simple maths like this isn't make sense to me anymore).
Can anyone tell me how I could produce a parabolic like curve from the same point where I can alter how much it curves with variables?
Here is a layout of the desired screen:
