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 Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!