i was writing a equation but this always have an error and i cant run it

1 Ansicht (letzte 30 Tage)
y = ((W*S)/(T*T)).*((cosh((a).*(L/2-x)))./(cosh(a*L/2)-1))+(W*x).*(L-x)/(2*T);
T= 1000;
L=10;
W=100;
S=100000; %% this is tha value of E*I
a=0.316;
x=0:0.1:10;
plot(y,x)

Akzeptierte Antwort

KSSV
KSSV am 4 Aug. 2020
You should first define the constants and then type the formula.
T= 1000;
L=10;
W=100;
S=100000; %% this is tha value of E*I
a=0.316;
x=0:0.1:10;
y = ((W*S)/(T*T)).*((cosh((a).*(L/2-x)))./(cosh(a*L/2)-1))+(W*x).*(L-x)/(2*T);
plot(x,y)

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by