x1, y1 = list(map(int, input().split()))

x2, y2 = list(map(int, input().split()))

x3, y3 = list(map(int, input().split()))



# 3辺の長さとその最大値

a = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5

b = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5

c = ((x3 - x1) ** 2 + (y3 - y1) ** 2) ** 0.5

L = max(a, b, c)



# ヘロンの公式

s = (a + b + c) / 2

S = (s * (s - a) * (s - b) * (s - c)) ** 0.5



# 内接円の半径

r = (2 * S) / (a + b + c)



ans = (L * r) / (2 * r + L)

print(ans)

x1, y1 = list(map(int, input().split()))

x2, y2 = list(map(int, input().split()))

x3, y3 = list(map(int, input().split()))





d1 = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5

d2 = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5

d3 = ((x3 - x1) ** 2 + (y3 - y1) ** 2) ** 0.5

D = max(d1, d2, d3)





s = (d1 + d2 + d3) / 2

S = (s * (s - d1) * (s - d2) * (s - d3)) ** 0.5

R = (2 * S) / (d1 + d2 + d3)





ok, ng = 0, 10000

eps = 1e-9



while abs(ok - ng) > eps:

    r = (ok + ng) / 2

    if 2 * r <= D * ((R - r) / R):

        ok = r

    else:

        ng = r



print(ok)

x1, y1 = list(map(int, input().split()))
x2, y2 = list(map(int, input().split()))
x3, y3 = list(map(int, input().split()))
# 3辺の長さとその最大値
a = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5
b = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5
c = ((x3 - x1) ** 2 + (y3 - y1) ** 2) ** 0.5
L = max(a, b, c)
# ヘロンの公式
s = (a + b + c) / 2
S = (s * (s - a) * (s - b) * (s - c)) ** 0.5
# 内接円の半径
r = (2 * S) / (a + b + c)
ans = (L * r) / (2 * r + L)
print(ans)

x1, y1 = list(map(int, input().split()))
x2, y2 = list(map(int, input().split()))
x3, y3 = list(map(int, input().split()))
d1 = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5
d2 = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5
d3 = ((x3 - x1) ** 2 + (y3 - y1) ** 2) ** 0.5
D = max(d1, d2, d3)
s = (d1 + d2 + d3) / 2
S = (s * (s - d1) * (s - d2) * (s - d3)) ** 0.5
R = (2 * S) / (d1 + d2 + d3)
ok, ng = 0, 10000
eps = 1e-9
while abs(ok - ng) > eps:
    r = (ok + ng) / 2
    if 2 * r <= D * ((R - r) / R):
        ok = r
    else:
        ng = r
print(ok)

-# 3辺の長さとその最大値 -a = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5 -b = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5 -c = ((x3 - x1) ** 2 + (y3 - y1) ** 2) ** 0.5 -L = max(a, b, c) -# ヘロンの公式 -s = (a + b + c) / 2 -S = (s * (s - a) * (s - b) * (s - c)) ** 0.5 -# 内接円の半径 -r = (2 * S) / (a + b + c) -ans = (L * r) / (2 * r + L) -print(ans) +d1 = ((x1 - x2) ** 2 + (y1 - y2) ** 2) ** 0.5 +d2 = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5 +d3 = ((x3 - x1) ** 2 + (y3 - y1) ** 2) ** 0.5 +D = max(d1, d2, d3) +s = (d1 + d2 + d3) / 2 +S = (s * (s - d1) * (s - d2) * (s - d3)) ** 0.5 +R = (2 * S) / (d1 + d2 + d3) +ok, ng = 0, 10000 +eps = 1e-9 +while abs(ok - ng) > eps: +    r = (ok + ng) / 2 +    if 2 * r <= D * ((R - r) / R): +        ok = r +    else: +        ng = r +print(ok)