Link to home
Start Free TrialLog in
Avatar of salamay
salamayFlag for United States of America

asked on

solving for an unknown inside a summation

Hi

I want to solve for k in the following equation using matlab but have no clue how it can be done. i need help

all the variables are known except k and beta is a vector
sum is summation n = 1 to 10000

P = Po/(1+l*h) + 2*h*Po*sum((exp(-k*beta(n)^2*t/(phi*uc))), n=1..10000)

thanks
SOLUTION
Avatar of QCD
QCD
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NovaDenizen
NovaDenizen

There likely isn't a closed-form solution that will lead you exactly to the answer.  You'll need to do some kind of search like the one QCD recommends, or perhaps Newton's method.
Newton's method would require evaluating the derivative of the expression.
That's true, but it would also provide much faster convergence.  There is a tradeoff of implementation complexity and runtime.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial