Nest function by nn

System.in.eachLine{v=it.toFloat()
for(f=201204;f;f>>=1)v=Math."${f&1?'sin':'cos'}"v
printf'%f\n',v}

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

download

return to the top page