***平方根 [#za2487f5]
 #include<stdio.h>
 main(i){
 	float x2;//x2の平方根xを求める。
 	float x=x2;

 	for(;i<100;i++)
 		x=(x+x2/x)/2.0;

 	printf("%f", x);
 }



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS