Someone
public text v1 · immutableFunction newt(ByVal x As Double) As Double
Dim c As Double
Dim a As Double
Dim xn As Double
Dim d As Double
Dim b As Double
xn = x
c = ((xn) - ((Tan(xn) - (xn) - t) / ((1 / Cos(xn)) ^ 2 - 1)))
a = c
xn = c
d = ((xn) - ((Tan(xn) - (xn) - t) / ((1 / Cos(xn)) ^ 2 - 1)))
b = d
xn = d
If a = b Then
newt = xn
ElseIf a <> b Then
newt = newt(xn)
End If
End Function