计算圆周率 Pi (π)值, 精确到小数点后 10000 位 只需要 30 多句代码! (浏览 15571 次) Victor Chen, (C++ 爱好者) 大家都知道π=3.1415926……无穷多位, 历史上很多人都在计算这个数, 一直认…
圆柱体 源代码
汇集 圆柱体 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include long a=10000,b,c=2800,d,e,f[ 2801 ],g; main() { for(;b-c;) f[ b++ ]=a/5; for(;d=0,g=c*2;c-=14,printf("%.4d",e…
#include #include main() { double y; int x,m; for(y=10;y>=-10;y--) { m=2.5*sqrt(100-y*y); for(x=1;x
#include long a=10000,b,c=2800,d,e,f[ 2801 ],g; main() { for(;b-c;) f[ b++ ]=a/5; for(;d=0,g=c*2;c-=14,printf("%.4d",e…
#include #include main() { double y; int x,m; for(y=10;y>=-10;y--) { m=2.5*sqrt(100-y*y); for(x=1;x
#include long a=10000,b,c=2800,d,e,f[ 2801 ],g; main() { for(;b-c;) f[ b++ ]=a/5; for(;d=0,g=c*2;c-=14,printf("%.4d",e…
#include #include main() { double y; int x,m; for(y=10;y>=-10;y--) { m=2.5*sqrt(100-y*y); for(x=1;x
#include long a=10000,b,c=2800,d,e,f[ 2801 ],g; main() { for(;b-c;) f[ b++ ]=a/5; for(;d=0,g=c*2;c-=14,printf("%.4d",e…