Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a MATLAB M-file that solves the questions of Position and Velocity of a Free Falling Stone. A stone is dropped from the top of

  1. Write a MATLAB M-file that solves the questions of Position and Velocity of a Free Falling Stone. A stone is dropped from the top of a tall building of 200 meters in height, i.e., the initial position of the object is 200 meters. The two equations used are

h(t) = gt2 + v0t + h0

v(t) = gt + v0

where g is the acceleration due to gravity (-9.81 m/s2), h(t) is the position of the object, v(t) is the velocity of the object. h0 is the initial position of the object, v0 is the initial velocity of the object, t is the time. For a free falling object, v0 is 0. h0 here is 200 meters.

Write MATLAB programs to solve the following problems.

  1. After 2.00 sec of free fall, what is the position of the stone?
  2. Find the time t_end when the stone reaches the ground. To calculate the value, you should first figure out the expression for t, when h(t) = 0 and v0 = 0. h(t) = 0 means the stone reaches the ground and the position is zero.
  3. Plot h(t) and v(t) on the same graph and be sure that you plot them with different line-styles and color. Note that the t is the X-axis vector, which is from 0 to the t_end.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions