solve an exponential equation with 2 variables(view combinations)
1 view (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!