Arizona State University Matlab and Physics Question

User Generated

xrea20

Computer Science

Arizona State University

Description

Please see attached picture for the task.

Give a Matlab code and graph for the problem.

A ball is thrown vertically upwards with an initial velocity of 30 m/s. Using a time step of 0.02 s up to 6.20 s, write a matlab code to give a plot of the vertical distance versus time for this ball. Hint ; Motion under gravity is described by the equation : 𝑣𝑦 = π‘£π‘œπ‘¦π‘‘ + 1 2 𝑔𝑑 2 and gravitational acceleration 𝑔 is here taken as negative. Then use your code to answer the following questions: (i) To what maximum height does the ball rise? (ii) What is the index of time at maximum height? (iii) How long does it take the ball to ascend to maximum height? (iv) How long does it take the ball to hit the ground? (v) What happens to the ball if the sign for gravitational acceleration is taken as positive? Give a Matlab code and graph for the problem.

Unformatted Attachment Preview

Motion Under Gravity A ball is thrown vertically upwards with an initial velocity of 30 m/s. Using a time step of 0.02 s up to 6.20 s, write a matlab code to give a plot of the vertical distance versus time for this ball. Hint ; Motion under gravity is described by the equation: Vy = Voyt + 9 gt? and gravitational acceleration g is here taken as negative. Then use your code to answer the following questions: (0) (ii) (iii) (iv) To what maximum height does the ball rise? What is the index of time at maximum height? How long does it take the ball to ascend to maximum height? How long does it take the ball to hit the ground? What happens to the ball if the sign for gravitational acceleration is taken as positive? (v) Attach your Matlab code and graph.
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

The zip file contains the m file for the code and an image of the graph. You can also get the graph by running the code. The code also answers the questions.
To make it easier, here's a document with the graph and answers in it as well. Note that you can get the same graph and...

Similar Content

Related Tags