フィルターのクリア

How do I code rearrange equation?

2 ビュー (過去 30 日間)
Ye
Ye 2022 年 11 月 1 日
コメント済み: MarKf 2022 年 11 月 1 日
How do i code this to show the equation rearrange to find t????

回答 (1 件)

Star Strider
Star Strider 2022 年 11 月 1 日
編集済み: Torsten 2022 年 11 月 1 日
Use the isolate funciton. (The solve function is also an option.)
syms a t v_0 x_t x_0
Eqn = x_t - x_0 == v_0*t + a*t^2/2
Eqn = 
Eqn = isolate(Eqn, t)
Eqn = 
  2 件のコメント
Torsten
Torsten 2022 年 11 月 1 日
What about the second solution of the quadratic ?
MarKf
MarKf 2022 年 11 月 1 日
Solve does give both
syms xt x0 v0 t a
eqn = xt-x0 == v0*t+1/2*a*t^2
eqn = 
St = solve(eqn,t)
St = 

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEquation Solving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by