Skip to main content
. 2024 Apr 5;26(4):316. doi: 10.3390/e26040316
Algorithm 4. The quadrature-based method to compute the square root value of x.
Inputs: x,s0
Output : s // square root of x.
Initialization: BCs0
CDx/BC
M0.5×(BC+CD)
CMBCM
sinθCM/M
cosθretrieved from a lookup table utilizing sinθ.
 scosθ×M