Finding amount of Speed needed
I am working on an application which has a Cannon fiering a Projectile at an Angle and at a Speed, above Ground Level.
I have 4 formular wich calculates nessesary data for the Projectile, before the Projectile starts moving:
Filnal Y Velocity
Total Flight Time
Sqr( ( Sin( ( "Projectile Anlge" )*( "Projectile Speed" ) )^2 ) - 2 * "Gravity" * "DeltaY"
Natural Travel Distance X ( Acounting for only Speed and Angle )
( "Filnal Y Velocity" + "Initial Y Velocity" ) / "Gravity"
Wind Travel Distance X ( Acounting only for Wind Power )
Cos( "Projectile Anlge" ) * "Projectile Speed" * "Flight Time"
( ( "Flight Time" *( "Flight Time" + 1 ) )/2.0) * "Wind Power"
I then use these 4 formulas to predict the exact impact point of the Projectile along the Ground Level, like this
Impact Point X = "Start Possition X" + "Natural Travel Distance X" + "Wind Travel Distance X"
How would i be able to "rearange" this formula so that
instead of it returning the Impact Point along the Ground Level ( based on Angle, Speed, Gravity, Wind Power )
It will return the amount of "Speed" required to hit a specific point ( X ) along the Ground Level ( based on Angle, Gravity, Wind Power, Impact Point X )?
I realize this is not an easy question, but any help is appreciated :)