Question: 1. Create a user-defined function in MATLAB that calculates the x- and y-components of a force given the input of the magnitude of a force

1. Create a user-defined function in MATLAB that calculates the x- and y-components of a force given the input of the magnitude of a force followed by the angle of the force in degrees. The program should assign the component values to the variables Fx and Fy. The output of the program should be two lines. The first line should read, "The x-component of the forces is XX.XX. The second line should read "The x-component of the forces is XX.XX. Copy your script file (function) into a Microsoft Word file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
