문제

I want to solve the following equations simultaneously to obtain x_i 's and T.

 x_i =a_i * exp(-C_i / T)    with the condition  sum(x_i)=1

where i may be up to 30 in the worst case and 3 at best. a_i and c_i are known.

Can any one please suggest an algorithm. I have tried Monte Carlo but could not get the desired result.

도움이 되었습니까?

해결책

Plug the expressions for x_i into the restriction about their sum; you will get an equation for T. You can solve it using Newton's method.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top