Iterative Root by rotary-o

"\x03\x02\x06\x03\x02\x05"map{c=>var Array(a,n,x)=readLine split','map(_.toDouble)
","*c+'
'map{d=>x+=(a/math.pow(x,n-1)-x)/n
printf("%.3f"+d,x)}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page