1. The problem statement, all variables and given/known data The scalar triple product computes the magnitude of the moment of a force vector about a specified line. It is M = ( r×F ) ⋅n , where is the position vector from the line to the point of application of the force and is a unit vector in the direction of the line. Prompt a user to enter (Fx,Fy ,Fz ), (rx, ry,rz ), and (nx,ny ,nz ); make sure, that is a unit vector and recalculate if necessary; then compute the magnitude for the case and plot the Free Body Diagram. The graph must be formatted and labelled by coding. 2. Relevant equations = M = ( r×F ) ⋅n 3. The attempt at a solution i tried dot(n,cross(r,F)) for the main code but don't know how to plot free body diagram.