購買設(shè)計請充值后下載,,資源目錄下的文件所見即所得,都可以點開預(yù)覽,,資料完整,充值下載可得到資源目錄里的所有文件。。?!咀ⅰ浚篸wg后綴為CAD圖紙,doc,docx為WORD文檔,原稿無水印,可編輯。。。具體請見文件預(yù)覽,有不明白之處,可咨詢QQ:12401814
# include
# include
# define PI 3.14
main ( )
{
int a;
a=160;
int b;
b=70;
int c;
c=pow(a,2)-pow(b,2);
float s;
s=PI*c/4;
int p;
p=8e+6;
float f;
f=p*s;
printf(“%f,\n”,f); *油缸的輸出力*
int n;
n=8;
float f1;
f1=f/n;
int m;
m=2.35e+8;
int l=5;
float g;
g=m/l;
float t;
t=1.3*f1;
float r;
r=4*g*PI;
float y;
y=t/r;
float d;
d=sqtr(y);
printf(“%f,\n”d); *法蘭螺栓的直徑*
int b;
b=24;
int d1;
d1=20;
float ra;
ra=1.885e-1;
float a1;
a1=4*f*b;
float b1;
b1=ra-d1;
float c1;
c1=PI*b1*g;
float h1;
h1=r/c1;
float h;
h=sqrt(h1);
printf(“%f,/n”,h); *法蘭的厚度*
float a2;
a2=4*f;
int l1;
l1=1e+2;
float b2;
b2=l1*PI;
float c2;
c2=sqrt(a2/b2);
float D;
D=d+c2;
pintf (“%f,/n”,D); *活塞桿的內(nèi)徑*
float p2;
p2=8e+6;
float s1;
s1=4*f;
float s2;
s2=PI*p2;
float s3;
s3=s1/s2;
float D1;
D1=sqrt(s3);
printf(“%f,\n”,D1); *缸筒內(nèi)徑*
float p3;
p3=2e+6;
float a4;
a4=p3*D1;
float b4;
b4=2*l1;
int q=7e-3 ;
float b5;
b5=a4/b4;
float s;
s=b5+q;
float D2;
D2=2*s+D1;
Printf (“%f,/n”,D2); *缸筒外徑*
}