View full-text article in PMC Sensors (Basel). 2017 Nov 25;17(12):2731. doi: 10.3390/s17122731 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 2 Bisection Search of Prad 1:Initialization: a=Pmin-Pcom, b=PTotal-Pcom, c(n), f(x)=Q12γradx,2λ, the tolerance ϵ>0; 2:Loop until: pD(n)-δD≥ϵ if f(a)≥0 then Prad(n)←a and stop the iteration; else c(n)←a+b2; if f(c(n))=0 then Prad(n)←a and stop the iteration; if f(c(n))<0 then a←c(n); c(n)←a+b2; if f(c(n))>0 then b←c(n); c(n)←a+b2; end if Set n←n+1; end if 3:End loop