Iterative equation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Iterative equation
Hi. I would like to solve the equation below by iteration for ro_g=0.616, ro_a=1.2, Ho=2, Hd=1.5
Thank you for the help. Have a good day
Solved! Go to Solution.
- Labels:
-
Other
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The equation you posted originally is different from the one in your worksheet.
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Type it in using a boolean equal sign and use a solve block with Find() to get your solution.
Always better to post a worksheet rather than a pic!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I will do so from now on. I am sorry i am quite new in the community. I have did what you said but i don't understand why it is not working. The worksheet is attached. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The equation you posted originally is different from the one in your worksheet.
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes. I appologize. I wrote a minus instead of plus. But thank you for the help. It is working now. Have a good day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
but i don't understand why it is not working.
The reason is that the solutions of the equation are complex numbers and this would require a complex guess value. If you use 2+2i as initial guess your sheet works.
You can also evaluate the solve block find() symbolically or use the symbolic "solve" command to get all two conjugate complex solutions. Neither of the two would need a guess value.
You have not only changed the values of the variables, compared to your initital post, but also the equation - I think the latter was not done on purpose.
See the attached sheets for further explanantions and the solution using your original information.
