Deriving acceleration from velocity equation
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
v=sqrt(2*g*H)*tanh((sqrt((2*g*H)/(2*L)))*t)
0 Kommentare
Antworten (1)
Star Strider
am 20 Mai 2023
Bearbeitet: Star Strider
am 20 Mai 2023
EDIT — (20 May 2023 at 12:46)
If this is symbolic, of course, just take the derivative with respect to t —
syms g H L t
v = sqrt(2*g*H)*tanh((sqrt((2*g*H)/(2*L)))*t)
a = diff(v,t)
.
2 Kommentare
Star Strider
am 20 Mai 2023
Your guess is likely much better than mine.
In that instance, the syms call becomes:
syms g H(t) L t
and the resulting derivative difficult to work with.
However if the result is numeric, gradient would likely still work.
Siehe auch
Kategorien
Mehr zu Conversion Between Symbolic and Numeric finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!