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!