No BSD License
-
MAIN(varargin)
MAIN M-file for MAIN.fig
-
SottoGrafico (reazioni,forze)
Disegna le reazioni vincolari sul grafico
-
[N,b]=flex1 (d,F,nFor,b)
Crea un Vettore N contenente i bracci effettivi di ogni singola forza
-
[force,moment]=reaction(vecto...
REACTION Finds the reaction force and moment needed to balance a force.
-
[moment]=summoment(vectors, c...
SUMMOMENT Solves for the moment caused by a set of forces.
-
[resultant,couple]=sumforce(v...
SUMFORCE Sums a set of vectors into one force vector and a couple.
-
[xmag,ymag,xcor,ycor]=breakup...
BREAKUP Breaks a standard form force vector into its component parts.
-
caricaforze
Controlla la Distanza tra le Forze e segnala l'errore se la somma delle
-
f_pallucca(xC, yC, r, col)
traccia una circonferenza di centro C e raggio r
-
flex(forze,lung,reazioni)
Crea un vettore distanze che verr
-
plotta (reazA,reazB,lung,forz...
Disegna l'albero con le forze applicate e le reazioni ai vincoli
-
torx
-
View all files
from
Calculating blending moment of the shaft
by Riccardo
It calculate blending moment of the shaft when you insert a generic number of forces.
|
| [moment]=summoment(vectors, coords) |
function [moment]=summoment(vectors, coords)
%SUMMOMENT Solves for the moment caused by a set of forces.
% [moment]=SUMMOMENT(VECTORS, [X,Y]) Given a set of known force
% vectors in standard multi vector format, the routine will return the
% resultant moment as seen from the coordinates passed in with the known
% force vectors. If no coordinates are specified then the moment is
% calculated about the origin. Right hand rule for sign convention.
%
% See also ONEVECTOR, REACTION, SUMFORCE, THREEVECTOR, TWOVECTOR.
% Details are to be found in Mastering Mechanics I, Douglas W. Hull,
% Prentice Hall, 1998
% Douglas W. Hull, 1998
% Copyright (c) 1998-99 by Prentice Hall
% Version 1.00
if nargin==1 % if coordinates are not included
xpos=0; % coordinates default to zero
ypos=0; % coordinates default to zero
else
xpos=coords(1);
ypos=coords(2);
end
[xmag,ymag,xcor,ycor]=breakup(vectors); % call subroutine
xmoment=sum(xmag.*(ypos-ycor)); % X forces times moment arm
ymoment=sum(ymag.*(xcor-xpos)); % Y forces times moment arm
moment=xmoment+ymoment; % sum both moments
|
|
Contact us at files@mathworks.com