Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Couls someone explain itereative calculation pls.

Status
Not open for further replies.

carthago

Mechanical
Joined
Jun 13, 2003
Messages
145
Location
NL
Iterartion.

I have to use the end result into the the original formula and get a new result..several times, until the difference between two consecutive results is smaller than a certian value ( convergence)..

How to do this with mathcad ??

Thanks
 
There are a number of functions for doing this type of problem, like minerr or minimize or rkadapt, why do you need to create your own solver?

TTFN



 
You should be able to do this with 'while' loop calling an external function (or local function for MC12+), see Mathcad programming.

Also Mathcad supports recursive functions (function appears on the right and left side of the equation).


Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top