solve an exponential equation with 2 variables(view combinations)

1 view (last 30 days)
Hello, i am trying to solve the following equation shown bellow, by solution i mean to find all the combinations of R2 and Vs2 that solve this equation. i tried with simbolic matlab as shown bellow.
How it could be done with matlab?
Thanks
syms L R t Vr Vs Vs2 R2
L=1
R=1
t=1
Vr=1
Vs=2
Eq1 =0== Vs*(1-exp((-R*t)/L))-Vs*(1-exp((-R*t)/L));
t_sol = solve(Eq1, t)
  2 Comments
Cameron B
Cameron B on 1 Mar 2020
Is there a typo in the formula? Should it be
Eq1 =0== Vr*(1-exp((-R*t)/L))-Vs*(1-exp((-R*t)/L));
If not then the equation makes no sense to me.
fima v
fima v on 1 Mar 2020
it means solving eq1=0;
i am not sure if the method is correct

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!