| Author |
Comment/Response |
Mimi
|
08/13/03 02:08am
Hi,
I need help on how to perform a do loop with a FindRoot inside it. The expression i want to loop is the following:
n-1
Yn= (exp(-rT)*v(T)*Si-w*Sum exp(-r xi ))/ (1-exp(-r T)) i=1
where n varies from 2 to 50 and i varies from 1 to n-1. I need FindRoot in the loop to determine the numerical values for the unknow parameters T and xi's.
Thanks
URL: , |
|