Deriving acceleration from velocity equation

조회 수: 8 (최근 30일)
Casey
Casey 2023년 5월 20일
댓글: Star Strider 2023년 5월 20일
v=sqrt(2*g*H)*tanh((sqrt((2*g*H)/(2*L)))*t)

답변 (1개)

Star Strider
Star Strider 2023년 5월 20일
편집: Star Strider 2023년 5월 20일
The gradient function could be helpful.
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)
v = 
a = diff(v,t)
a = 
.
  댓글 수: 2
Torsten
Torsten 2023년 5월 20일
My guess is that H is a function of t.
Star Strider
Star Strider 2023년 5월 20일
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.

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

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by