Back to Problem Solutions forum
Whats formula i have to use for calculate distance? sqrt(pow(x,2)-pow(y,2))? x0=0 y0=0.
UPDATE:For guys who has some problems with this task:
1.Formula for y is x=(y * tan(alpha * Pi/180)-(g * (y * y))/(2 * (v * v) * (cos(alpha * Pi/180) * cos(alpha * Pi/180)))) x in my solution is h and y is lenght.
2.Step for y(lenght in my solution) is 0.1.
3.Result is lenght i.e. y(lenght in my solution).
I didn't understand some terms, so I decided to write this manual.