Solving for Exponential Vairable
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dominique Davis
el 3 de Nov. de 2019
Comentada: Dominique Davis
el 3 de Nov. de 2019
syms t
a = 600;
r = .10;
y = 600;
eq = y - a * (exp(r*t)) == 0;
tsol = solve(eq,t)
This is my code which I would like to output a number (decimal) but it is outputting in log form. Can someone please give me some advice?
0 comentarios
Respuesta aceptada
JESUS DAVID ARIZA ROYETH
el 3 de Nov. de 2019
syms t
a = 600;
r = .10;
y = 600;
eq = y - a * (exp(r*t)) == 0;
tsol = vpa(solve(eq,t))
Más respuestas (0)
Ver también
Categorías
Más información sobre Numbers and Precision en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!