- #1
Adder_Noir
- 239
- 0
Dear All,
Currently I'm working out a formula for Destroyers in the online game BattleGround Europe to be able to blast inland towns with their deck guns. To do this I've had to use the equations of motion. I could use some help on dechipering the final part of the clue. Points to note are:
1)Muzzle velocity is constant
2)Air resistance does not factor in the game for shells
3)I am not concerned with crosswind effects
4)I have to be able to hit targets higher than the ship so curve is not a nice symmetrical parabola-type
So I did some theory tests. I have started with a muzzle velocity of 50ms and have chosen a fictional target 165m away 45m above sea level. Here's how I went about solving the problem:
I worked out that for both horizontal motion and vertical motion the time 't' would be the same at the instance where the horizontal distance and vertical distance were aligned (on the target).
I worked out an equation for 't' using horizontal motion. Using a=0 it came back with a nice formula which I susbstituted into the equation for vertical motion. At this point all unknowns except the required firing angle disappeared and the equation worked through to the formula below which I have checked several times and I'm pretty certain is correct:
(cos^2(x))(1100tanx - 300) = 363
Where ^ denotes 'to the power of' and x is the angle. This just leaves me with the angle to equate but it's been a good while since I did any trig identities and I'm not even sure this can be solved? Can anyone help me out with this last little bit? I'd be most grateful
Currently I'm working out a formula for Destroyers in the online game BattleGround Europe to be able to blast inland towns with their deck guns. To do this I've had to use the equations of motion. I could use some help on dechipering the final part of the clue. Points to note are:
1)Muzzle velocity is constant
2)Air resistance does not factor in the game for shells
3)I am not concerned with crosswind effects
4)I have to be able to hit targets higher than the ship so curve is not a nice symmetrical parabola-type
So I did some theory tests. I have started with a muzzle velocity of 50ms and have chosen a fictional target 165m away 45m above sea level. Here's how I went about solving the problem:
I worked out that for both horizontal motion and vertical motion the time 't' would be the same at the instance where the horizontal distance and vertical distance were aligned (on the target).
I worked out an equation for 't' using horizontal motion. Using a=0 it came back with a nice formula which I susbstituted into the equation for vertical motion. At this point all unknowns except the required firing angle disappeared and the equation worked through to the formula below which I have checked several times and I'm pretty certain is correct:
(cos^2(x))(1100tanx - 300) = 363
Where ^ denotes 'to the power of' and x is the angle. This just leaves me with the angle to equate but it's been a good while since I did any trig identities and I'm not even sure this can be solved? Can anyone help me out with this last little bit? I'd be most grateful