solve an exponential equation with 2 variables(view combinations)
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Cameron B
2020-3-1
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.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!