Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Need help for a do loop' topicStudent Support Forum > General > "Need help for a do loop"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'Need help for a do loop')
Author Date Posted
Need help for a do loop Mimi 08/13/03 02:08am
Re: Need help for a do loop Henry Lamb 08/15/03 04:02am
Next Comment >Help | Reply To Topic