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 件)

Torsten
Torsten 2022 年 10 月 2 日

0 投票

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)

カテゴリ

質問済み:

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