Problem solving exponential equation
显示 更早的评论
I want to use the solve command to solve the equation (1000/(exp(log(4) - t/40) + 1 = 800) for t but I am having some issues with it. What is the correct syntax I need to use to get the answer
回答(1 个)
Your parantheses are unbalanced. After correcting it, the below code should work.
syms t
eqn = 1000/(exp(log(4) - t/40) + 1 == 800
solve(eqn,t)
类别
在 帮助中心 和 File Exchange 中查找有关 Multiobjective Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!