Newton Raphson iteration - unable to iterate
问题 I am not sure this question is on topic here or elsewhere (or not on topic at all anywhere). I have inherited Fortran 90 code that does Newton Raphson interpolation where logarithm of temperature is interpolated against logarithm of pressure. The interpolation is of the type t = a ln(p) + b and where a, b are defined as a = ln(tup/tdwn)/(alogpu - alogpd) and b = ln T - a * ln P Here is the test program. It is shown only for a single iteration. But the actual program runs over three FOR loops