49T+245e^(-T/5)-545 = 0

1 visualización (últimos 30 días)
jackery smith
jackery smith el 24 de Sept. de 2016
Comentada: Walter Roberson el 24 de Sept. de 2016
i am totally new to matlab. with which func and command could I get the value of T?
sorry for the too much elementary question. Just started to learn D.E.s..
  2 comentarios
androidguy
androidguy el 24 de Sept. de 2016
José-Luis
José-Luis el 24 de Sept. de 2016
That's not a differential equation though.

Iniciar sesión para comentar.

Respuestas (3)

José-Luis
José-Luis el 24 de Sept. de 2016
Editada: José-Luis el 24 de Sept. de 2016
fun = @(x) 49*x + 245*exp(-x/5) - 545;
result = fzero(fun,0)

Walter Roberson
Walter Roberson el 24 de Sept. de 2016
syms T
solution = solve(49*T+245*exp(-T/5)-545 == 0)
The answer will be in terms of the Lambert W function. If you want to see the decimal equivalent,
double(solution)

yubo liu
yubo liu el 24 de Sept. de 2016
I try the above methods,but why do i get different results,fun = @(x) 49*x + 245*exp(-x/5) - 545; result = fzero(fun,0) the first resule is -6.2180,and the second method syms T solution = solve(49*T+245*exp(-T/5)-545 == 0),the second result is 10.5116 why? hope your answers
  3 comentarios
Star Strider
Star Strider el 24 de Sept. de 2016
When in doubt, plot it:
fun = @(x) 49*x + 245*exp(-x/5) - 545;
t = linspace(-15, 25, 500);
figure(1)
plot(t, fun(t))
grid
Walter Roberson
Walter Roberson el 24 de Sept. de 2016
There are, by the way, an infinite number of solutions; two of the solutions are real.

Iniciar sesión para comentar.

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by