Dificulty plotting graph of function for basic bending moment graph
Afficher commentaires plus anciens
Have been having issues making a system that creates bending moment graphs,
The graph appears to be the correct shape, but i cannot figure out, how to only plot the graph from 0 to the beam lengh
clc
%bending moments calculator
syms X
%force 1
F1=50
%total beam lengh
LT=4
%f1 distaance from left support (b)
L1=1
%reactions right support (a)
REND= (L1*F1)/LT
%reactions at left support (c)
RST= ((LT-L1)*F1)/LT
%FROM A TO B
M1=RST*X
%FROM B TO C
M2=RST*X-F1*(X-(L1))
fplot(M1)
hold on
fplot(M2)
hold off
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



