How to plug in and solve for algebraic equation?

2 views (last 30 days)
Meet Koradia
Meet Koradia on 13 May 2022
Answered: Sam Chak on 13 May 2022
For example this

Answers (2)

KSSV
KSSV on 13 May 2022
t = linspace(0,1) ;
z = 15*(1+(4.1*0.064)/1000*(15/150)^(2/3)*t.^(5/3)).^(-3/2) ;
plot(t,z)
  1 Comment
KSSV
KSSV on 13 May 2022
syms z t
eqn = z == 15*(1+(4.1*0.064)/1000*(15/150)^(2/3)*t.^(5/3)).^(-3/2) ;
s = solve(eqn,t)
Warning: Solutions are only valid under certain conditions. To include parameters and conditions in the solution, specify the 'ReturnConditions' value as 'true'.
s = 

Sign in to comment.


Sam Chak
Sam Chak on 13 May 2022
The idea is to reverse the equality in z, and then isolate t to the left-hand side. You can solve this algebra problem by hand and obtain:

Community Treasure Hunt

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

Start Hunting!

Translated by