plotting points on a graph

i need help graphing a (x,y) axis and plotting 5 points to make a parabola

point1 should be (0,0)
point2 should be (distance/4, some height value)
point3 should be (distance/2, max height)
point4 should be (distance(.75), some height value)
point5 should be (distance, 0)

for my example, the distance= 9970 meters and the max height= 1745 meters...what points should i use to graph on a (x,y) axis and how can i make the program graph points on the parabola if different distances and heights were used?

if more information is needed, please ask. thank you.
What formula for the parabola are you using to compute the values?
For distance, the speed and radians are provided by the user, G is a constant at 3.77

distance= pow(speed, 2)*(sin(2*radians))/G


For height, speed and radians are entered by the user, G is constant at 3.77, and x is my distance/2

height= (x*tan(radians)) - (G*pow(x, 2))/(2* pow(speed*cos(radians), 2))
Topic archived. No new replies allowed.