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

1 view (last 30 days)
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)

Accepted Answer

KSSV
KSSV on 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)

More Answers (0)

Tags

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!