Matlab Simulink: Simulate the height of ball thrown upward

Click For Summary
SUMMARY

The discussion focuses on simulating the height of a ball thrown upward using Matlab Simulink, with initial conditions of an initial velocity of 10 m/s and an initial height of 0 m. The governing equation derived is Height = 10t - 5t², based on the physics of motion under gravity (g = 10 m/s²). The user expresses difficulty in implementing this second-order differential equation in Simulink, despite having received minimal instruction. A suggestion is made to utilize existing Simulink tutorial files, specifically the "Simulation of a Bouncing Ball," to adapt the model for the user's specific conditions.

PREREQUISITES
  • Understanding of basic physics equations of motion
  • Familiarity with Matlab Simulink environment
  • Knowledge of initial conditions in simulation modeling
  • Ability to manipulate differential equations
NEXT STEPS
  • Explore the "Simulation of a Bouncing Ball" tutorial in Matlab Simulink
  • Learn how to implement second-order differential equations in Simulink
  • Research how to set initial conditions in Simulink models
  • Study the use of blocks in Simulink for simulating motion
USEFUL FOR

This discussion is beneficial for students learning physics and engineering concepts, particularly those using Matlab Simulink for simulations, as well as educators seeking practical examples for teaching motion dynamics.

nightingale
Messages
53
Reaction score
1

Homework Statement



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.

Homework Equations



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

The Attempt at a Solution


[/B]
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.
 
Physics news on Phys.org
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.
 

Similar threads

Replies
11
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
15
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K