필터 지우기
필터 지우기

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
Yuchi Kang
Yuchi Kang 2019년 6월 6일
Thanks for your notice. This is a mistake and I have already fixed it. Sorry
Allen Machado
Allen Machado 2021년 7월 24일
Hello? Can i borrow your problem and the code? Thank you.

댓글을 달려면 로그인하십시오.

답변 (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