Deriving acceleration from velocity equation

9 ビュー (過去 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 Center および File ExchangeCalculus についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by