Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Solving the equation via matlab

1 回表示 (過去 30 日間)
Abdulmajid Mrebit
Abdulmajid Mrebit 2015 年 8 月 9 日
コメント済み: Walter Roberson 2015 年 8 月 9 日
Hi Everybody
I am trying to solve the equation in picture below but I face many problems, Is there anyone can help me.
Thanks in advance
  2 件のコメント
John D'Errico
John D'Errico 2015 年 8 月 9 日
編集済み: John D'Errico 2015 年 8 月 9 日
OK, so you have done nothing, tried nothing, and expect a solution for your homework problem. You SAY that you have faced many problems, but we see no hint.
I'll give you a suggestion. Pick values of d and L. (Use nested loops on d and L, but there are other ways.) Then solve.
Walter Roberson
Walter Roberson 2015 年 8 月 9 日
If you let x have a vector value, then 1-exp(a*x) has a vector result. When you have a vector expression, you can use prod() to multiply all of the members of the vector together. Now you can construct an anonymous function f = @(R) 1 - prod(....) that given a particular R value calculates the right hand side of your expression. After that it is a matter of finding a numeric solution:

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by