Filter löschen
Filter löschen

How do I code rearrange equation?

3 Ansichten (letzte 30 Tage)
Ye
Ye am 1 Nov. 2022
Kommentiert: MarKf am 1 Nov. 2022
How do i code this to show the equation rearrange to find t????

Antworten (1)

Star Strider
Star Strider am 1 Nov. 2022
Bearbeitet: Torsten am 1 Nov. 2022
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 Kommentare
Torsten
Torsten am 1 Nov. 2022
What about the second solution of the quadratic ?
MarKf
MarKf am 1 Nov. 2022
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 = 

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Particle & Nuclear Physics 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!

Translated by