Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Physics Problem

Options
  • 12-11-2015 5:26pm
    #1
    Closed Accounts Posts: 1,442 ✭✭✭


    A motor cyclist travelling at a speed of 40m/s rides straight over the edge of a 20m tall cliff. At the bottom of the cliff the ground falls away as a slope which makes an angle of 10 degrees to the horizontal.

    Write an Octave programme which shows the (x,y) trajectort of the motorcyclist and the sloping ground. From the graph determine as accurately as you can, the position at which the cyclist hits the ground.

    I can't seem to wrap my head around this one, for some reason the 10 degrees has me stumped, probably over complicating it but please help :o :P


Comments

  • Registered Users Posts: 3,457 ✭✭✭Morbert


    A motor cyclist travelling at a speed of 40m/s rides straight over the edge of a 20m tall cliff.

    This means your parametric equation r(t) is

    r(t) = (x(t),y(t)) = (40*t,-0.5*g*t^2)

    (where g is 9.8 m/s^2).
    At the bottom of the cliff the ground falls away as a slope which makes an angle of 10 degrees to the horizontal.

    This means the ground can be represented by the line y = -20 - x*sin(10 degrees) I.e.

    r'(t) = (t,-20-t*sin(pi/18))

    In octave, you can plot these curves with the commands
    hold on
    ezplot(@(t) 40*t,@(t) -0.5*9.8*t.^2,[0,3])
    ezplot(@(t) t,@(t) -20-t*sin(pi/18),[0,150])
    

    [Edit] - Note that in the above case I am taking the 0-height mark to be the cliff top. If you want the cliff bottom to be the 0-height mark, just shift the 20m. I.e.
    hold on
    ezplot(@(t) 40*t,@(t) 20-0.5*9.8*t.^2,[0,3])
    ezplot(@(t) t,@(t) -t*sin(pi/18),[0,150])
    


Advertisement