How can I resolve this?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chandhrikka Ravi
el 23 de Mzo. de 2020
Comentada: Chandhrikka Ravi
el 23 de Mzo. de 2020
2 comentarios
Respuesta aceptada
Birdman
el 23 de Mzo. de 2020
Following code solves the problem. The command t(0)==0 does not make any sense since t is independent variable. Also, you used dsolve command incorrectly. See the following code:
syms x(t) m g l e a
Dx=diff(x,t);
x(t)=dsolve(m*diff(x,2) == -m*g*(x-l)/e,[x(0) == a, Dx(0) == 0])
Then, you can verify the solution according to the initial conditions. It is verified.
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
