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!

Homework Help: Matlab Simulink: Simulate the height of ball thrown upward

  1. Apr 14, 2015 #1
    1. The problem statement, all variables and given/known data

    Upthrow simulation Conditions: initial velocity v=10m/s, initial height h=0m when t=0. Gravity acceleration g=10m/s2 .

    Using Simulink to simulate the variation of height with time when t≥0.

    2. Relevant equations

    I figured that the governing equation should be:
    Height = initial velocity (u) * time + 1/2 * acceleration * t^2

    3. The attempt at a solution

    Height = initial velocity (u) * time + 1/2 * acceleration * t^2
    Height = 10 t * 1/2 * -10 * t^2
    Height = 10 t - 5 t^2

    I don't have a clue on how to simulate the height of the ball since it is a second order differentiation. Since the height varies with time, then isn't it dh/dt?

    So, is it:

    dh/dt = 10 - 5t ?

    (I pulled the t out, and made it into differentiation)

    Now again, I have been taught simulink by my lecturer for a mere one hour, and I honestly am clueless on how to simulate that (if the governing equation is right).

    Any help will be much appreciated, thank you.
  2. jcsd
  3. Apr 14, 2015 #2


    User Avatar
    Homework Helper

    In the Simulink tutorial files, there is one called Simulation of a Bouncing Ball. All the proper blocks are in place--you just have to change your initial conditions to match your problem.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted