Epsilon is given:
So 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 :-) ).
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.
Nice! I got it! Thank you for making it challenging!))
Since I cannot determine the number which this series converges to (I can run my summation script for only 9 terms), I'll modify my code to return only alternating errors.
I hope I won't run into any more difficulties with this problem. Thanks!!)
pls. don't judge me harshly, but the problem has not been completely solved yet (but the deadline is coming... uggg)
You can see what I got so far in the attached picture.
I am able to run summation only for its first 9 terms. Then the denominator apparently gets to large for Turbo Pascal and it returns me an error.
What I cannot understand is the epsilon column. bobbym, can u pls. tell me what was the algorithm to find those errors in the table you posted. Shall I now, having my table, somehow derive them from the sums that I got? Thanks!
I cannot upload the image, so it can be found here - master-chinese.ru/screen_shot.jpg
bobbym, thank you for your reply!
Unfortunately I do not know what X is and this makes it more confusing. Two things I am currently confused about are what I should do with X here and how to determine the level of accuracy. Can you pls. formulate what I should search for to find some information on solving for this kind of problems. Thanks!
Hello, guys! Plzz help me out here..
Real numbers X, ε given (X not equal to 0, ε > 0). Calculate the sum of the series with the accuracy ε (ε = 10^-3, 10^-4, 10^-5, 10^-6) and specify the number of summands. Put results into columns ε, sum, N. Run the calculation only for the first 10 terms. Numerical part of the problem is attached.
This actually is a problem for my programming class, but I can't understand math behind the problem. What is X here? How can I perform these calculations with the given accuracy. Pls. advice if possible. Thanks!!