The correct option is B θ =450
When the projectile (projected with initial speed (u=20 m/s) hits the target, then its x & y co-ordinates should be equal to that of target.
Hence x=20 m and y=10 m, now we will substitute it in the equation of trajectory, which is given as;
y=xtanθ−gx22u2cos2θ
10=20×tanθ−10×2022×202×(sec2θ)
2=4×tanθ−(1+tan2θ)
tan2θ−4tanθ+3=0
tanθ=3,1
Therefore, corresponding to these values of tanθ,
either θ=45∘ or tan−1(3)
Hence option B is the correct answer