0% found this document useful (0 votes)
9 views1 page

Tutorial 3.1 - Matrix Operation and Manipulation

Uploaded by

niclaronce
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Tutorial 3.1 - Matrix Operation and Manipulation

Uploaded by

niclaronce
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

9. Define p and w as scalars, p = 2.5 and w = 5.

87, and t, x and y as the vectors;


t = [1 2 3 4 5], x = 2.8 2.5 2.2 1.9 1.6], and y =[4 7 10 13 17].
Then use these variables to calculate the following expressions using element-by-element calculation of
the vectors.
a) S = b) S = +

10. A ball is dropped on the floor bounces back many times, reaching a lower height after each bounce.
When the ball impacts the floor its renounced velocity is 0.85 times the impact velocity. The velocity v
with which the ball hits the floor after being dropped from a height h is given by v = √ . The time
between successive bounces is given by t =v/g, where v is the upward velocity after the last impact. If
the ball is dropped from a height of 2m, determine the time at which the ball hits the floor for the first
eight bounces. Set t=0 when the ball hits the floor for the first time. (Calculate the velocity of the ball
when the ball hits the floor for the first time). Derive a formula for the time of the following hits as the
function of the bounce number. Then create a vector n = 1, 2, …, 8 and use the formula( use element-by-
element operations) to calculate the vector with the values of t for each n). Display the results in two-
column table where the values of n and t are displayed in the first and second columns, respectively.

11. The dot product can be used for determining the angle between vectors:

Q = cos-1 ( )

Use Matlab built-in function cosd, sqrt and dot to find the angle (in degrees) between
r1 = 7i - 5j + 4k and r1 = 2i + 5j - 3k.
Recall that r = √

You might also like