For a parabola X = A Y * Y + B Y
This is horizontal parabola passing through x=0,y=0
The c# DotNet 2.0 function should look like
ArrayList yList getNsuccessiveYvalues (int x1, int y1, int x2, int y2, int x3, int y3, yListSize)
It gets 3 points x1,y1,x2,y2,x3,y3 and also a number representing how many Y values should be calculated, for X=1,2,3,4 ...
That is for X starting at 1 in steps of 1.
Actually x1,y1 are 0,0 in my case, though it would be nice if the function could be more general :-).
The returned Y values I need them to be of int type, so the double results should be rounded to the close integers.
an example of actual parameters is: x1=0,y1=0,x2=1,y2=6,x3=20,y3=60,yListSize=50
I want also to show the results as a graph in .NET 2.0 WinForm by GDI.
I would appreciate a solution.