MATLAB Answers

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

3 views (last 30 days)
Yuchi Kang
Yuchi Kang on 6 Jun 2019
Commented: Allen Machado on 24 Jul 2021
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 Comments

Sign in to comment.

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!