# How to plug in and solve for algebraic equation?

2 views (last 30 days)
Meet Koradia on 13 May 2022
Answered: Sam Chak on 13 May 2022
For example this
##### 2 CommentsShowHide 1 older comment
Meet Koradia on 13 May 2022
t

Sign in to comment.

### Answers (2)

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 CommentShowHide None
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 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:
##### 0 CommentsShowHide -1 older comments

Sign in to comment.

### Community Treasure Hunt

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

Start Hunting!