How to plug in and solve for algebraic equation?

4 次查看(过去 30 天)
For example this

回答(2 个)

KSSV
KSSV 2022-5-13
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 个评论
KSSV
KSSV 2022-5-13
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 = 

请先登录,再进行评论。


Sam Chak
Sam Chak 2022-5-13
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:

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by