Solving for Exponential Vairable
10 views (last 30 days)
Show older comments
Dominique Davis
on 3 Nov 2019
Commented: Dominique Davis
on 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 Comments
Accepted Answer
JESUS DAVID ARIZA ROYETH
on 3 Nov 2019
syms t
a = 600;
r = .10;
y = 600;
eq = y - a * (exp(r*t)) == 0;
tsol = vpa(solve(eq,t))
More Answers (0)
See Also
Categories
Find more on Numbers and Precision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!