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
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

Error in connector.internal.fevalMatlab

Error in connector.internal.fevalJSON
solve(eqn,t)

类别

帮助中心File Exchange 中查找有关 Multiobjective Optimization 的更多信息

提问:

Ej
2022-10-2

回答:

2022-10-2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by