본문내용
;
printf(\"w(%1.1f) = %lf y(%1.1f) = %lf error = %lf\\n\", t, w[i], t, y(t), y(t)-w[i]);
}
}
double f(double t, double w){
return (w/t)-(w/t)*(w/t);
}
double y(double t){
return t/(1 + log(t));
}
Result
printf(\"w(%1.1f) = %lf y(%1.1f) = %lf error = %lf\\n\", t, w[i], t, y(t), y(t)-w[i]);
}
}
double f(double t, double w){
return (w/t)-(w/t)*(w/t);
}
double y(double t){
return t/(1 + log(t));
}
Result
소개글