17 Aug Write a MATLAB script that will prompt the user to enter the hypotenuse and the length of one leg of a right triangle and that will compute both the length of the remaining leg and the area of the triangle.
- Write a MATLAB script that will prompt the user to enter the hypotenuse and the length of one leg of a right triangle and that will compute both the length of the remaining leg and the area of the triangle.
- Consider the analytic solution of the projectile problem described previously. Write a MATLAB script that will prompt the user to enter the launch speed and angle, and will compute the peak height, flight time, and horizontal distance travelled using the analytic equations.
- Write a MATLAB function that will take a (4 x 4) matrix as an input argument and will return a (4 x 1) array containing the averages of each of the four columns of the input matrix.
