Re: Calculation with a given accuracy

We can improve that easily. Are they still forcing people to use that language?

yep, they are. ((

Why did I pick x = 1?

No idea. Maybe because it is short and simple!?))

Also, one more thing turned out to be wrong, I already edited my code so it returns K, sum and Error, but have just noticed that they do not want the actual error to be on the list, they want me to calculate sums with given accuracy (10^-3, 10^-4, 10^-5, 10^-6) and specify this accuracy in the error column. I guess I'm just gonna leave it as it is. I think the script currently does even more calculations than required.

Re: Calculation with a given accuracy

sorry for an ambiguous post, you did not understand me right, in the previous post by "the actual error" I meant they do not want any error, they just require to specify accuracy (10^-3, 10^-4, 10^-5, 10^-6).

Re: Calculation with a given accuracy

Epsilon is given:10^-310^-410^-510^-6So there is nothing to choose from, it's already known. As I said before the script already does more calculations than needed. What I am wondering about now is why there are only 4 "epsilons", although it is said that I should run the summation for the first 10 terms (what I can't technically do though :-) ).