import math t = int(input()) for i in range(t): r = int(input()) print((r*r*math.sin(math.radians(120)))*3*0.5)