Info

此问题已关闭。 请重新打开它进行编辑或回答。

Solving the equation via matlab

1 次查看(过去 30 天)
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