Solving for Exponential Vairable
조회 수: 10 (최근 30일)
이전 댓글 표시
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
채택된 답변
JESUS DAVID ARIZA ROYETH
2019년 11월 3일
syms t
a = 600;
r = .10;
y = 600;
eq = y - a * (exp(r*t)) == 0;
tsol = vpa(solve(eq,t))
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Numbers and Precision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!