Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #107.41K
Ranked #4K
~489 People Reached
Favorite Forums
Favorite Tags
c x 1
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
489