| control BOINC using the CLI boinccmd | Install WordPress on Ubuntu (Including Markdown Markup Support) |
Dec 132010
http://alien.slackbook.org/blog/calculating-pi/
bc -l <<< 'scale=1000; 4*a(1)'
# which is shorter than the equivalent
echo "scale=1000;4*a(1)" | bc -l
One more calculation using bc: the golden ratio to 10 digits:
bc -l <<< 'scale=10;(1 + sqrt(5))/2'
VN:F [1.9.22_1171]
calculate pi to a 1000 digits, 10.0 out of 10 based on 1 rating