Roots
Posted: Tue Jan 20, 2004 6:53 pm
Code updated For 5.20+
This is a very simple but accurate and effective way to calculate any types of roots. Wether it is a square-root, a cube-root or anything else... This function can do it.
Simple, isn't it?
This is a very simple but accurate and effective way to calculate any types of roots. Wether it is a square-root, a cube-root or anything else... This function can do it.
Code: Select all
Procedure.f Root(index.f,root.f)
ProcedureReturn Pow(index,1/root)
EndProcedure