Solving a second order ordinary differential equation. A cantiliever beam deflection

3 次查看(过去 30 天)
E=225000;
d=0.1016;
I=pi*d^4/64;
L=12;
theta=45/180*pi;
syms x y
fb=3*pi/64*E*d^4/L^3/(sin(theta))^2
fba=fb*cos(theta);
fbt=fb*sin(theta);
eqn1=E*I*diff(y,x,2)==-fba*y+fbt*(L-x);
Dy=diff(y,x);
cond1=[y(0)==0,Dy(0)==0];
ySol1(x)=dsolve(eqn1,cond1);
x=0:0.1:12
plot(x,ySol1(x))
Hi! Dear all, I wanna obtain a canliever beam deflection. A beam is totally fixed at one end. At the other end, it is subjected an axial load fba and a vertical load fbt. But the code does not work at all. Should I use another function rather than dsolve? Thanks for your help.
  3 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by