Documentos de Académico
Documentos de Profesional
Documentos de Cultura
#include <iostream>
#include "math.h"
/* run this program using the console pauser or add your own getch, system("pause") or input
loop */
float beta1;
return beta1;
float rb;
rb = 0.85*b1*fc/fy*6000/(6000+fy);
return rb;
cout<<"b[cm] = ";cin>>b;
cout<<"h[cm] = ";cin>>h;
cout<<"r[cm] = ";cin>>r;
d-h=r;
a=0.2*d;
do{
t=a;
As=Mu*1e5/(0.9*fy*(d-a/2));
a=As*fy/(0.85*fc*b);
}while(fabs(t-a)>0.01*t);
beta1=fbeta1(fc);
rhob=frhob(fc,fy,beta1);
cout<<"rhob = "<<rhob;
rhomax=0.75*rhob;
Asmax=rhomax*h*d;
cout<<"\nAsmax = "<<Asmax;
return 0;