Question
1: Use MATLAB to compute the following, a.) Define h and k as scalars, h=0.7, and k=13.4, and x, y and z as the vectors x= 2, 4, 6, 8, 10 y 3, 5, 9, 12, 15 and z =2.5, 3, 3.5, 4, 6. The use them in the following expression to calculate T using element-by-element calculations, T = y 5xy + + log(10x) x (z+y)-* +12"/ xyz + (2h+k)*15 b.) Use MATLAB to solve the following system of four linear equations 3x+6y+6z+4.5w= 12.5 5x+4y-2z+6w=4 - 6x 12y+16w-2z= 20 4x-2y+2z+4w = 6 Question 2: If a ball is dropped down from a helicopter, its velocity as a function of time v(t) can be modeled by the equation: v = PRC 2 where g = 9.81 m/s² is the gravitation of the Earth, Cd = 0.5 is the drag coefficient, p = 1.2kg/m³ is the density of air, m = 0.624 is the mass of the ball, and A = πr² is the projected area of the ball (r=0.117m is the radius). Determine the velocity of the ball for t = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10 s. Display the results in a table (first column is time and second column is velocity, use appropriate formats).
Question image 1