i have a function: f ( h ) = (0,0226 / h^2) + h - 0.5879

Using fixed point iteration determine h within 0,1 % relative error.

I modified h= g(h) = 0.5879 - (0,0226 / h^2)

Then how can i write these functions' fixed point iteration m-file. Can anybody write a example m-file for this kind of problems?