Solving for Exponential Vairable
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dominique Davis
le 3 Nov 2019
Commenté : Dominique Davis
le 3 Nov 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 commentaires
Réponse acceptée
JESUS DAVID ARIZA ROYETH
le 3 Nov 2019
syms t
a = 600;
r = .10;
y = 600;
eq = y - a * (exp(r*t)) == 0;
tsol = vpa(solve(eq,t))
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Numbers and Precision dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!