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

Answers (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)

Asked:

Ej
on 2 Oct 2022

Answered:

on 2 Oct 2022

Community Treasure Hunt

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

Start Hunting!