Skip to main content
. 2020 Jun 19;20(12):3480. doi: 10.3390/s20123480
Algorithm 3 (Bisection algorithm to solve P5)
Require: Initialize ul and uu, set ϵ3>0.
  repeat
      1. Set u=(ul+uu)/2.
      2. Compute s^(u) via Algorithm 2
      3. If f(s^(u)/u)0, set ul=u, otherwise set uu=u.
  until|uuul|ϵ3.
  4. Output s^(u)Q.