#include #include double y0=0,yi=0,yn=1,m=0; double pai=3.141592653589793238,ys,yc; //“r’†ŒvŽZ‚ÅŽg‚Á‚½•Ï” double h[3]; //‚Ý• double sh(double); //sinh‚ð•Ô‚·ŠÖ” double ch(double); //cosh‚ð•Ô‚·ŠÖ” int i,j,n; main() { h[0]=1; //‚Ý•h=1 h[1]=0.5; //‚Ý•h=0.5 h[2]=0.25; //‚Ý•h=0.25 for(j=0;j<3;j++) { n=4/h[j]; //‹æŠÔ“_‚Ì” //y0‚ÌŒvŽZ ys=sh(-n*h[j]); yc=ch(-n*h[j]); y0=(pai*yc*ch(ys*pai/2))/(2*(1+(sh(ys*pai/2))*(sh(ys*pai/2)))); //y‚Ž‚ÌŒvŽZ ys=sh(n*h[j]); yc=ch(n*h[j]); yn=(pai*yc*ch(ys*pai/2))/(2*(1+(sh(ys*pai/2))*(sh(ys*pai/2)))); //yi‚ÌŒvŽZ for (i=-n+1;i