🦌 BLEAT
🐶 🧡💙💛
Diapering @todswetdreams.bsky.social to manage his potty anxiety.
https://linktr.ee/Pup_Ojo
18+ minors DNI
The death toll from me wetting myself has been remarkably low, thank God 🤭
The death toll from me wetting myself has been remarkably low, thank God 🤭
Looks like it's actually approaching pi. Oops!
tn - pn*(an - an_1(an, bn))**2
Looks like it's actually approaching pi. Oops!
tn - pn*(an - an_1(an, bn))**2
func_iter = []
while n < 1000:
n += 1
func_iter.append(f(an, bn, tn)) # tn should come first
tn = tn_1(tn, pn, an, bn)
a0 = an # so that bn can be updated with the current "a_n" value, not a_{n+1}
an = an_1(an, bn)
bn = bn_1(a0, bn)
pn = pn_1(pn)
func_iter = []
while n < 1000:
n += 1
func_iter.append(f(an, bn, tn)) # tn should come first
tn = tn_1(tn, pn, an, bn)
a0 = an # so that bn can be updated with the current "a_n" value, not a_{n+1}
an = an_1(an, bn)
bn = bn_1(a0, bn)
pn = pn_1(pn)
return ((an + bn)**2)/(4*tn)
def an_1(an, bn):
return (an + bn)/2
def bn_1(an, bn):
return np.sqrt(an*bn)
def tn_1(tn, pn, an, bn):
return tn - pn*(an - an_1(an, bn)**2)
def pn_1(pn):
return 2*pn
return ((an + bn)**2)/(4*tn)
def an_1(an, bn):
return (an + bn)/2
def bn_1(an, bn):
return np.sqrt(an*bn)
def tn_1(tn, pn, an, bn):
return tn - pn*(an - an_1(an, bn)**2)
def pn_1(pn):
return 2*pn
import matplotlib.pyplot as plt
a0 = 1
b0 = 1/np.sqrt(2)
t0 = 1/4
p0 = 1
an = a0
bn = b0
tn = t0
pn = p0
import matplotlib.pyplot as plt
a0 = 1
b0 = 1/np.sqrt(2)
t0 = 1/4
p0 = 1
an = a0
bn = b0
tn = t0
pn = p0
Result is the same, just changed the convergence speed. Seems like it's approaching 0 though!
Result is the same, just changed the convergence speed. Seems like it's approaching 0 though!