Hey guys, i got big trouble with one of my task.
someone could help me?
I have to write function for, for 20 arguments.
this is my function:
double edx(double x){
double i=-1;
double sum=1;
double ratio=1;
const double epislon=1e-9;
while (fabs(ratio)>epislon * fabs(sum))
{
ratio*=-x*x/(i*(i));
sum=sum+ratio;
i=i+2;
I know this is bad, but why, and what i need to change