For starters:

Using (x1,y1) to do so:

A = (X / (Y*Y));

Then you would loop from 0 to yListSize or -yListSize depending on whether A is positive or negative. Knowing Y for the values you're plugging in, you would solve for X. The resulting pairs are what you place into the list you will return.

Questions?

- X = A Y * Y + B Y is only guaranteed to pass through (0,0) if B = 0.
- Are you guaranteed that all 3 points provided will fit such a parabola? Will you throw an exception if they do not?

Using (x1,y1) to do so:

A = (X / (Y*Y));

Then you would loop from 0 to yListSize or -yListSize depending on whether A is positive or negative. Knowing Y for the values you're plugging in, you would solve for X. The resulting pairs are what you place into the list you will return.

Questions?