laplace transform with conditions
3 views (last 30 days)
Show older comments
hi im trying to right to solve this to get the laplase transform
this is my code but it's not right
syms s t m1(t) m2(t) l1(t) l2(t) g(t) a1(t) a2(t) A1(s) A2(s)
da1=diff(a1,t)
d2a1=diff(da1,1)
da2=diff(a2,t)
d2a2=diff(da2,t)
M1=(m1+m2)*(l1^2)*d2a1+m2*l1*l2*d2a2+(m1+m2)*g*l1*a1==0
M2=m2*l1*l2*d2a1+m2*(l2^2)*d2a2+m2*g*l2*a2==0
conda1= a1(0) == 0.5;
conda2= a2(0) == 0;
conda11= diff(a1(0)) == 0.8;
conda12= diff(a2(0)) == 0;
lM1=laplace(M1)
lM2=laplace(M2)
0 Comments
Answers (0)
See Also
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!