a={}s=0 for i=0,1e5 do s=s+(-1)^i/(2*i+1)a[i]=s end r=io.read r()while""do print(("%.15g"):format(a[r()-1]))end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page