How iteratively/numerically solve for a value

The simplest answer is probably to formulate this as a root finding problem (ie find the root of f(h) = p(h)/(B(h)^2 / (2*μ_0) )-beta and use Roots.jl

1 Like