1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Probability: A Rifle Shooter

  1. Jan 4, 2013 #1
    1. The problem statement, all variables and given/known data

    A rifle shooter aims at a target, at a distance d, but has an accuracy controlled by a probability density:
    [itex]\rho(\phi)=\frac{1}{2\Phi}[/itex]

    [itex]\phi\in(-\Phi,\Phi)[/itex]​

    where [itex]\phi[/itex] is the angle achieved and is bounded by the small angle [itex]\Phi[/itex].

    (Refer to attachment for diagram)

    Calculate the probability density for where the bullet strikes the target, [itex]\tilde{p}(x)[/itex]. (I've done this.. I think)

    If a target is set up with a width of 2d, with success H say, being hitting the target and failure M say, being missed the target, calculate and depict the probability of hitting,

    [itex]P(H;\Phi)[/itex]
    as a function of [itex]\Phi[/itex] for fixed d and D with [itex]D=tan(\theta)[/itex]
    Hint: Be careful about when [itex]\Phi=\phi[/itex]

    2. Relevant equations

    [itex]p(a,b)=\int{dx p(x)}[/itex]

    3. The attempt at a solution

    For the bit I've done,
    I got [itex]\tilde{p}(x)=\frac{2\Phi}{\pi}[/itex]

    I don't know where to start on the next bit, could someone give me a hint please?
     

    Attached Files:

  2. jcsd
  3. Jan 4, 2013 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    For best results, you should show your reasoning for the bit you've done.
    How did you work that out?
    What does x represent in p(x)? How is it related to ##\phi##?
    What is D and d (and ##\theta##)?

    As to your question:
    You have a probability density function - how would you normally go about calculating a probability from that?
     
  4. Jan 4, 2013 #3
    For the bit I've done:
    P(a, b)=[itex]\int_a^b \! p(x) \, \mathrm{d} x.[/itex]
    [itex]P(x, x+\delta x)=\delta\theta\frac{1}{\pi}=p(x) \delta x[/itex] (I got this from what our lecturer did in a question with a person throwing balls randomly toward a wall.)
    so,
    [itex]p(x)=\frac{1}{\pi} \frac{d\theta}{d x}[/itex]

    [itex]now, tan \theta = \frac {x}{D} [/itex]

    [itex]so, \frac{d\theta}{dx}= \frac {D}{D^2+x^2} [/itex]

    [itex]so, p(x) = \frac{1}{\pi} \frac {D}{D^2+x^2} [/itex]

    [itex]then, \tilde{p}(x)=p(-D tan\Phi, D tan\Phi) [/itex]

    [itex]= 2 \int_0^{Dtan \Phi} \! \frac{1}{\pi} \frac {D}{D^2+x^2} [/itex]

    [itex] = \frac{2\Phi}{\pi} [/itex]

    D is the distance from the shooter to the target. (shown in attached diagram)
     
    Last edited: Jan 4, 2013
  5. Jan 4, 2013 #4
    I would integrate it over the interval I want the probability for ?
     
  6. Jan 4, 2013 #5

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    D = the distance to the target (you did that - good)
    d = the radius of the target
    x = radius to where a bullet went at the target distance - so that $$p(x,x+\delta x)=\frac{2\Phi\delta x}{\pi}$$... this is what you are telling me?

    Check - if ##\tilde{p}(x) is correct then ##\int_{-X}^X \tilde{p}(x)dx=1 : X=D\tan\Phi## ... ?
    (That's if I understand your thinking correctly - note: if x is a radius where did the negative values come from?)

    Hint: what is the probability density if the rifle is very inaccurate indeed and ##\Phi=\pi/2## (90°)?

    I think you need to get a better feel for how the statistics behave:

    The image below shows a sample of 10000 shots from a flat angular distribution (top) the angle is in units of ##\Phi## and they have been grouped into lots of ##\Phi/100## so that there is an expectation of 100 shots in each histogram.

    Below that is the same 100 shots according to where they hit the target. (Distance is in units of X.)
    Notice how the distribution is not longer flat? Instead, you'd get bullet holes clustered closer together near the center and spreading out as you get further away.

    attachment.php?attachmentid=54462&stc=1&d=1357353140.png

    I think it would help if you thought about what each of the equations you are writing are saying.

    Note: still don't know where ##\theta## comes from... since ##\phi## is the trajectory angle, perhaps ##\theta## is the polar angle (from the x axis) to the resulting hole in the target?
     

    Attached Files:

    Last edited: Jan 4, 2013
  7. Jan 4, 2013 #6

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    The trouble with carrying equations over from another context is that you might not have changed everytrhing that needs changing. There should be a [itex]\Phi[/itex] in there somewhere, no?
    Some confusion here. The OP provides [itex]\tilde{p}(x)[/itex] as the prob density function for X. In the above, you've mostly written p(x) for that. That's fine, but then you introduce [itex]\tilde{p}(x)[/itex] as something else - apparently as the integral of the pdf over its entire range, which is therefore not even a function of x.
    That you got something other than 1 for that should tell you your equation [itex]P(x, x+\delta x)=\delta\theta\frac{1}{\pi}[/itex] is wrong. Can you see how to correct it?
     
  8. Jan 5, 2013 #7
    In all honesty, guys, I've just tried to collect information from here and there to solve this.
    I'm not even sure if [itex]\tilde{p}[/itex] or [itex]p[/itex] are just different symbols or [itex]\tilde{p}[/itex] has a special meaning?

    I also can't distinguish the need for three angles, like Simon mentioned.

    Also, I don't know what [itex]P(x, x+\delta x)=\delta\theta\frac{1}{\pi}=p(x) \delta x[/itex] or [itex]p(x,x+\delta x)=\frac{2\Phi\delta x}{\pi}[/itex] means.

    I'm sorry for not being clear about this earlier.
     
    Last edited: Jan 5, 2013
  9. Jan 5, 2013 #8

    [itex]\tilde{p}(x)[/itex] is mentioned first in the question, but I do not know why it is mentioned instead of [itex]p(x)[/itex]. Perhaps a typo?
     
  10. Jan 5, 2013 #9

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    In that case, let's start from scratch so that you come to understand it. Try to answer the following in sequence:
    1. Suppose on a given shot the angle error is theta. How far off target will the shot be in terms of distance (x)?
    2. Same as (1), but now for an angle θ+δθ? Call this distance x+δx.
    3. Obtain an expression for δx as a function of θ and δθ that's a good approximation when δθ is small.
    4. What is the probability of an angle error in the range (θ, θ+δθ)?
    5. What therefore is the probability of a distance error in the range (x, x+δx)?
    You should then be able to write down the pdf for x.
     
  11. Jan 5, 2013 #10

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    What he said - I'll just watch for now.
    I don't know why there should be three angles either - you were the one who introduced the third angle symbol ;)
     
  12. Jan 5, 2013 #11
    Oh crap, I did!

    Haruspex, you were write about copying from another context.

    Ok, so

    1. I think I'm looking for [itex]x=D tan(\theta)[/itex]
    2. [itex]x+\delta x=D tan(\theta + \delta \theta)[/itex]
    3.
    Algebraically, [itex]\delta x=D(tan(\theta+\delta\theta)-tan(\theta))[/itex]
    Using expansion approximation of "tan(a+x)" - using wolfram alpha:
    [itex]\delta x=D sec^{2}(x)\delta \theta[/itex]

    I am not exactly sure what you mean by 4. and 5.
     
  13. Jan 5, 2013 #12

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Good so far. For (4), you are told the probability density function for the error angle, namely, that it is uniform over a certain range. If the range (θ, θ+δθ) is within that range, what is the probability that the error angle lies within it?
     
  14. Jan 5, 2013 #13
    that would be
    [itex]\frac{\theta+\delta \theta}{\Phi}[/itex] ?
     
  15. Jan 5, 2013 #14

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    No, that would be the prob of the angle error being in the range (-θ-δθ, θ+δθ).
    Try integrating the pdf over the range (θ, θ+δθ).
     
  16. Jan 5, 2013 #15
    [itex] \int_{\theta}^{\theta + \delta \theta} p(\phi) d\phi[/itex]

    [itex]=\int_{\theta}^{\theta + \delta \theta} \frac{1}{2\Phi} d\phi[/itex]

    [itex]=\frac{1}{2} \left[ ln(\phi) \right][/itex] (i can't put the limits here with latex)

    [itex]=\frac{1}{2} (ln(\theta + \delta \theta)-ln(\theta))[/itex]

    [itex]= ln(\sqrt{1+\frac{\delta \theta}{\theta}})[/itex]
     
  17. Jan 5, 2013 #16

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    In latex markup you can formal special functions like the natural logarithm and add the limits like this:

    =\frac{1}{2} \ln|\phi| \bigg |_\theta^{\theta+\delta\theta}

    to give you (put above inside doubled "$" signs) $$=\frac{1}{2} \ln|\phi| \bigg |_\theta^{\theta+\delta\theta}$$

    But ... surely ##\Phi## is a constant in the integration? If so: how do you get the log?
    Did you mix up ##\phi## and ##\Phi##?
     
    Last edited: Jan 6, 2013
  18. Jan 6, 2013 #17

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    zeeshahmad, I've come to suspect there are several typos in the OP which are confusing things. I would guess:
    - the distance to the target is D, not d.
    - θ is defined by d = D tan (θ)
    - the hint should be to take care when ##\Phi## < θ.
    A further confusion is that you freely interchanged θ and ##\phi##, and I followed suit.
    To clarify:
    ##\Phi## is a constant angle
    ##\phi## is a variable angle of error, which is anywhere in the range (##-\Phi##, ##\Phi##)
    D is the distance to the target
    x is a variable distance error, x = D tan(##\phi##)
    θ is the limit of angle error for a 'hit'
    d is the limit of distance error for a 'hit', d = D tan(θ)​
    Is that all correct?
     
  19. Jan 6, 2013 #18
    All of that is correct, just that the last two statements are not in the question (not that I disagree with them), and [itex]\theta[/itex] is only mentioned (1) in the hint and (2) in d = D tan(θ)

    But the hint says exactly as mentioned in OP.
     
    Last edited: Jan 6, 2013
  20. Jan 6, 2013 #19
    [itex] \int_{\theta}^{\theta + \delta \theta} p(\phi) d\phi[/itex]

    [itex]=\int_{\theta}^{\theta + \delta \theta} \frac{1}{2\Phi} d\phi[/itex]

    [itex]=\frac{d\delta}{2\Phi}[/itex] ....:uhh:
     
  21. Jan 6, 2013 #20

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Almost right. Where you wrote ## d \delta ## at the end you meant ##\delta \theta##, right?
    So to my step 5: what is the probability that the distance error lies in the range (x, x+δx) where, you may remember, ##x = D tan(\phi)## and ##x+\delta x = D tan(\phi+\delta \phi)##?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Probability: A Rifle Shooter
  1. Tunnelling probability (Replies: 4)

  2. Spin probability (Replies: 5)

  3. Probability of states (Replies: 1)

Loading...