Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
6
Posts with Downvotes
4
Downvoting Members
3
2 Commented Posts
0 Endorsements
~487 People Reached
Favorite Forums
Favorite Tags
c x 27
Member Avatar for whattever

[CODE]/* < newton.c > */ #include "smp.h" main() { void USERF(double *,double *,double); double x0,e; int n,NMAX; /*** ステップ1 データの入力 ***/ printf("\n初期値 x0 = "); scanf("%1f",&x0); printf("\n収束判別定数 p = "); scanf("%1f",&e); printf("\n最大反復回数 NMAX = "); scanf("%d",&NMAX); /*** ステップ2 ニュートン・ラプソン法の計算 ***/ S_NEWT(&n,&x0,e,NMAX,USERF); /*** ステップ3 計算結果の出力 ***/ printf("\n反復回数:N=%d 解:X(N)=%10.71e",n,x0); } /* < …

Member Avatar for nbaztec
0
487