Question: Individual Assignment 2 A force in three dimensions is represented by a vector F = ( F x , F y , F z )

Individual Assignment 2
A force in three dimensions is represented by a vector F=(Fx,Fy,Fz). An engineer is solving complex problems which require many forces to be summed to find their resultant. The number of forces can also change, depending on the problem.
Write a MATLAB program to help the engineer work more efficiently. The program must:
a) Ask the user how many forces need to be summed. The number of forces must be larger than 1. If not, the user must be asked to insert a different number.
b) Ask the user to introduce: Fx,Fy and Fz for each of the forces to be summed.
c) Compute the resultant of the forces.
d) Communicate the result to the user.
e) The maximum force inputs should be 10
Individual Assignment 2 A force in three

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!