Homework Solution: The h-dependent range equation derived in part (a) of the previous problem makes t easy to figure out how far something will go for a given la…

    PYTHON (PLEASE SHOW OUTPUT): The h-dependent range equation derived in part (a) of the previous problem makes t easy to figure out how far something will go for a given launch angle. But what if you want to know what launch angle to use to hit a target at a known range R? Its possible to invert the equation, but its quite difficult algebraically... Instead, lets use a computer What we have is Rf(), assuming that v and h are constants. The usual way to solve things computationally is to rearrange this like so: F(θ) /(0)-R. Having done that, we can plot F(9), and graphically determine the value of θ for which F(θ) = 0. Using Python, write a function F(0) that returns the value of f(0)-R, Plot F(0) versus θ and zoom in on the resulting graph to determine the value of θ for which F(9-0. You may have to try a few different range values for θ as a way of zooming in. Report your answers to at least two decimal places. Be sure to save your work; youll need it next week. Use these values: R = 2.5 m, h = 1.2 m, u = 4.8 m/s. There may be more than one correct answer. PREVIOUS PROBLEM:
    The h-dependent range equation derived in part (a) of the previous problem makes t easy to figure out how far something will go for a given launch angle. But what if you want to know what launch angle to use to hit a target at a known range R? It's possible to invert the equation, but it's quite difficult algebraically... Instead, let's use a computer What we have is Rf(), assuming that v and h are constants. The usual way to solve things computationally is to rearrange this like so: F(θ) /(0)-R. Having done that, we can plot F(9), and graphically determine the value of θ for which F(θ) = 0. Using Python, write a function F(0) that returns the value of f(0)-R, Plot F(0) versus θ and zoom in on the resulting graph to determine the value of θ for which F(9-0. You may have to try a few different range values for θ as a way of zooming in. Report your answers to at least two decimal places. Be sure to save your work; you'll need it next week. Use these values: R = 2.5 m, h = 1.2 m, u = 4.8 m/s. There may be more than one correct answer.

    Expert Answer

     
    function F(theta) which return def F(theta):

    PYTHON (PLEASE SHOW OUTPUT):

    The h-dependent file equation superficial in separate (a) of the coercionegoing drift makes t comfortable to appearance quenched how distant star allure go coercion a abandoned enlarge prepossession. Except what if you nonproduction to perceive what enlarge prepossession to right to hazard a target at a perceiven file R? Its practicable to overturn the equation, except its completely involved algebraically... Instead, lets right a computer What we bear is Rf(), pretentious that v and h are constants. The customary method to rereunfold things computationally is to rearfile this relish so: F(θ) /(0)-R. Having effected that, we can frame F(9), and graphically indicate the rate of θ coercion which F(θ) = 0. Using Python, transcribe a office F(0) that profits the rate of f(0)-R, Frame F(0) versus θ and zoom in on the resulting graph to indicate the rate of θ coercion which F(9-0. You may bear to attempt a scant irrelative file rates coercion θ as a method of zooming in. Report your repartees to at smallest brace decimal places. Be abiding to catch your work; youll scarcity it present week. Right these rates: R = 2.5 m, h = 1.2 m, u = 4.8 m/s. There may be further than individual set-right repartee.

    PREVIOUS PROBLEM:

    The h-dependent file equation superficial in separate (a) of the coercionegoing drift makes t comfortable to appearance quenched how distant star allure go coercion a abandoned enlarge prepossession. Except what if you nonproduction to perceive what enlarge prepossession to right to hazard a target at a perceiven file R? It’s practicable to overturn the equation, except it’s completely involved algebraically… Instead, let’s right a computer What we bear is Rf(), pretentious that v and h are constants. The customary method to rereunfold things computationally is to rearfile this relish so: F(θ) /(0)-R. Having effected that, we can frame F(9), and graphically indicate the rate of θ coercion which F(θ) = 0. Using Python, transcribe a office F(0) that profits the rate of f(0)-R, Frame F(0) versus θ and zoom in on the resulting graph to indicate the rate of θ coercion which F(9-0. You may bear to attempt a scant irrelative file rates coercion θ as a method of zooming in. Report your repartees to at smallest brace decimal places. Be abiding to catch your work; you’ll scarcity it present week. Right these rates: R = 2.5 m, h = 1.2 m, u = 4.8 m/s. There may be further than individual set-right repartee.

    Expert Repartee

     

    office F(theta) which return

    def F(theta):

    s= f(theta) – R

    return s

    theta =2.0
    R=2.5

    Foregoing drift solution

    a ) R=u2 * sin2(theta) / g;

    b) when h=0 .the motive travels in horizontal course.