Question: In this lab, we will simulate ( or predict ) the behavior of objects / systems under different types of force ( i . e
In this lab, we will simulate or predict the behavior of objectssystems under different types of force ie forward
dynamics Here, note that two different approaches will be used. For problem we will solve the differential
equation by ourselves, then use MATLAB to simply plot the solution ie displacement
Problem Let's consider a point mass thrown into the air with an initial velocity and angle The goal
of this assignment is to write a MATLAB program that estimates the trajectory of the ball over time and
display necessary information using either a graph or some type of animation
The skeleton of the program is provided in the next page. Here, you need to find the equations for the and
coordinate of the ball and fill out the portion left blank. When executed, this program will ask the user to
input information regarding the movement, including initial velocity and angle, as well as how many
seconds the user wants to simulate the behavior You can also change some parameters to make the
animation run faster eg decrease dt
Lab report preparation Problem
a Present clearly the calculation process of deriving equations for the and coordinates of the ball.
b Include the matlab code that you completed and used.
c Run a few simulations with some parameters of your choice initial velocity, initial angle and draw some
conclusions about how the initial velocity and angle affect the trajectory. Make sure to include some representative
figures to support your conclusion.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
