s=0.866025403784439*3.0/2.0 gets.to_i.times{ t=gets.to_f puts sprintf("%.7f",t*t*s) }